I have a big problem with my app and iOS 8.3. I have many crashes with always the same error:
Terminating app due to uncaught exception \'UIApplica
A lot of other apps didn't crash with this bug, so I was wondering if there was something else in our app that accounted to this crash. I made sure iOS 8 would get the UIAlertController so it wouldn't crash but that doesn't help with third-party frameworks.
Another engineer in our team eventually fixed it by doing this:
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
// This used to be:
//return UIInterfaceOrientationPortrait;
}