I’m writing an iPhone/iPad app and I’m undergoing beta testing by other employees of my company (many of whom are out of the country). My question is, is there anyway to catch all exceptions or errors for the program and display them to the user.
What I’m thinking is, someway to wrap the main method with a try catch and then, if there is any error (such as indexOutOfBounds) it would display a UIAlert to the user stating what the error is and where it occurred. That way it would be easier for my testers to tell me exactly what error they are experiencing.
If this is not possible, is there any good way for me to tell what errors testers of my program are having other than just having them tell me things such as “I pressed this button and the app crashed.”
You could look into something like the TestFlight SDK or PLCrashReporter.