initialize UITableViewController with [super initWithStyle:UITableViewStyleGrouped]

后端 未结 1 1221
半阙折子戏
半阙折子戏 2021-01-21 10:44

As I understand this correctly form the Apple Api, when initializing a UITableViewController with the initWithStyle method, it should return me a reference to an UITableView in

相关标签:
1条回答
  • 2021-01-21 11:37

    The tableView object is probably created at a later point. Try to override:

    -(void)viewDidLoad; 
    

    self.tableView should point to a valid objects at that point.

    0 讨论(0)
提交回复
热议问题