2012-10-21 66 views
1

NSError *錯誤的錯誤消息...打印出來的[錯誤描述]

這是[error description]結果:

enter image description here

我想剛纔這個消息:Another user is Already linked to this facebook id. 是有什麼辦法?

[error localizeddescription]也打印別的東西。

+0

我不明白這是怎麼涉及到的Xcode ... – 2012-10-21 16:01:48

+1

好吧,我刪除了'Xcode',如果它的罰款你。 :) – Ali

回答

1

試試這個:

NSString *description = [[error userInfo] objectForKey:@"error"]; 
+0

感謝您的幫助:) – Ali

+0

@Ali歡迎您。 – 2012-10-21 16:07:04