nib but didn't get a UITableView

后端 未结 13 1680
误落风尘
误落风尘 2020-11-30 05:26

My application works for iOS 5.1 but for iOS 6 simulator I get the following error.

Terminating app due to uncaught exception \'NSInternalInconsist

13条回答
  •  伪装坚强ぢ
    2020-11-30 06:05

    I find the solution when using Storyboards and 1 table View.

    The key is when you create a custom class (newViewController) just check that is a subclass of UITableViewController. Once created Go to the table view controller (of our table) and in the Identity Inspector select the custom class that just created before (newViewController).

    That works for me. Hope my comment help someone.

提交回复
热议问题