1

NSError *error ...

This is the result of [error description]:

enter image description here

I want to have just this message : Another user is Already linked to this facebook id. Is there any way?

[error localizeddescription] is also print something else.

4

1 回答 1

1

Try this:

NSString *description = [[error userInfo] objectForKey:@"error"];
于 2012-10-21T16:01:16.360 回答