gpt4 book ai didi

ios - NSInvalidUnarchiveOperationException : 'Could not instantiate class named _UITableViewCellSeparatorView'

转载 作者:可可西里 更新时间:2023-11-01 03:05:32 27 4
gpt4 key购买 nike

在 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com