简体   繁体   English

应用程序在iOS 8设备上运行正常,但在iOS 7设备上崩溃

[英]Application working fine in iOS 8 device but crashing in iOS 7 devices

I have developed application using Xcode 6 which is using auto layout and size classes . 我已经使用Xcode 6开发了应用程序,它使用自动布局和大小类 It is working fine in iOS 8 devices but there is problem while running application on iOS 7 devices. 在iOS 8设备上运行正常,但在iOS 7设备上运行应用程序时出现问题。 In one view controller the application is crashing with the following exception : 在一个视图控制器中,应用程序崩溃,但存在以下异常:

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIView 0x7916a9c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key keyPath.'

I have checked all the connection in connection inspector ,those all are clean. 我已经在连接检查器中检查了所有连接,这些都干净。 Please suggest some solution to overcome this problem . 请提出一些解决此问题的解决方案。

This is normally related to a deleted IBOutlet. 这通常与已删除的IBOutlet有关。 Check your Storyboard/Nibs outlets and see if there anything marked with an "!": it means the corresponding outlet was removed. 检查您的Storyboard / Nibs插座,看看是否有标有“!”的内容:这意味着相应的插座已卸下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM