Crashlytics报道:
Fatal Exception: UIApplicationInvalIDInterfaceOrIEntation
Supported orIEntations has no common orIEntation with the application,and [_UIAlertShimPresentingVIEwController shouldautorotate] is returning YES
发生碰撞的行是[alertVIEw show]:
UIAlertVIEw *alertVIEw = [[UIAlertVIEw alloc] initWithTitle:Title message:message delegate:nil cancelbuttonTitle:cancelbuttonTitle otherbuttonTitles:nil];[alertVIEw show];
该代码在应用程序中很长时间,现在它开始崩溃.有没有人遇到类似的行为,并解决了问题?
解决方法 尝试实现这一点- (BOol)shouldautorotate { return NO;}-(NSUInteger)supportedInterfaceOrIEntations { return UIInterfaceOrIEntationMaskPortrait;}
也检查:Orientation issue in Lanscape mode while opening camera in iOS 7 in iPhone
总结以上是内存溢出为你收集整理的UIAlertView在iOS 8.3中崩溃全部内容,希望文章能够帮你解决UIAlertView在iOS 8.3中崩溃所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)