How to get the NSError message in iOS?
Normally you’ll want to use [error localizedDescription] to get the text to show to the user. Read the NSError documentation for more options. For simple logging when developing, you can do NSLog(@”Error: %@”, error). (That will give you ‘localizedDescription’ and everything else on your log in Xcode.)