一,報如下錯誤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