作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
在 Xcode 更新 (5.1) 之后,当我尝试在 iOS 6.x 中运行时,我的应用程序崩溃了。
我有一个应用程序,其中有一个自定义单元格和约束。
未选中 xib 文件的自动布局。我得到的错误是:
*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITableViewCellSeparatorView'
我只找到了one thread about this issue in another forum ,但没有解决方案,只是我也做过的测试并得到了同样的错误。
最佳答案
我在更新到 Xcode 5.1 后遇到了同样的错误。
我能够通过为我的自定义单元格编辑 xib 来消除错误。
在文件检查器中的 Interface Builder 文档下,我将“查看为”切换为“iOS 6.1 及更早版本”。我还将“构建”设置为“iOS 6.0 及更高版本”。
关于ios - NSInvalidUnarchiveOperationException : 'Could not instantiate class named _UITableViewCellSeparatorView' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22466420/
我是一名优秀的程序员,十分优秀!