ios学习之——ios6以后UITableViewCell添加子视图所遇到的问题

一,报如下错误app

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier txTableCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'

 解决方法:ide

把用UITableViewController来作storyboard中您要显示的UITableview的视图控制器。确保UITableView不是嵌在一个View中。(缘由不明)。spa

相关文章
相关标签/搜索