Lan*_*oth 0 uitableview ios swift
我收到以下错误:
'NSUnknownKeyException', reason: '[<FestiPay.MasterViewController 0x10070ae20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key cardSection.'
Run Code Online (Sandbox Code Playgroud)
它是TableView部分的出口.问题是,我已经删除了这个变量,并且该部分没有Connections Inspector.
如何删除参考?
转到故事板,单击MasterViewController 然后选择出口选项卡(右侧组件中的最后一个选项卡).您将看到特定视图控制器的所有插座,您可以在那里删除悬挂参考.
另一种方法是右键单击storyboard文件,打开源代码,搜索cardSection并从文档中删除节点.使用第二种方法,您必须非常小心,因为您可以轻松地破坏文档.要验证您是否已删除它并且它确实有效,请再次右键单击storyboard并选择界面构建器选项.
| 归档时间: |
|
| 查看次数: |
422 次 |
| 最近记录: |