NSError *錯誤的錯誤消息...打印出來的[錯誤描述]
這是[error description]
結果:
我想剛纔這個消息:Another user is Already linked to this facebook id.
是有什麼辦法?
[error localizeddescription]
也打印別的東西。
NSError *錯誤的錯誤消息...打印出來的[錯誤描述]
這是[error description]
結果:
我想剛纔這個消息:Another user is Already linked to this facebook id.
是有什麼辦法?
[error localizeddescription]
也打印別的東西。
試試這個:
NSString *description = [[error userInfo] objectForKey:@"error"];
感謝您的幫助:) – Ali
@Ali歡迎您。 – 2012-10-21 16:07:04
我不明白這是怎麼涉及到的Xcode ... – 2012-10-21 16:01:48
好吧,我刪除了'Xcode',如果它的罰款你。 :) – Ali