Sunday, 15 April 2012

objective c - iOS supportedInterfaceOrientations loop crashing -


I am getting this error, and I do not know what could be the reason for it in iOS 8.2 in the iPhone and iPad Is happening on both.

  Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_PROTECTION_FAILURE 0x00554ff4 Raw 0 libobjc.A.dylib lookUpImpOrForward + 3 4 libobjc.A. Dylib - [NSObject respondsToSelector:] + 38 5 UIKit - [UIWindow _supportedInterfaceOrientationsForRootViewController] 56 6 UIKit - [_UIFallbackPresentationViewController supportedInterfaceOrientations] + 607 UIKit - [_UIFallbackPresentationViewController supportedInterfaceOrientations] + 60 ... 510 UIKit - [_UIFallbackPresentationViewController supportedInterfaceOrientations] 60 < / Code> 

I have read something that should solve such issues, but it is not working.

  - (nsuenter) Application: (UIApplication *) Application Supported InterfaceForvando: (UIWindow *) Window {if (IDIOOM == IPAD} {return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown; } And {return UIInterfaceOrientationMaskPortrait; }}  

I ended up contacting Apple about this issue. According to him, related to the sports center, Apple has changed some things on it and the old way of starting the sports center will be a random crash. Added to my game and it stopped random crash


No comments:

Post a Comment