Why numberOfSectionsInTableView is called twice in UITableViewController?

前端 未结 2 771
渐次进展
渐次进展 2021-02-07 20:49

Is there any other reason (than calling \"reloadData\") why numberOfSectionsInTableView is called twice? I did debugging and found, that it\'s get called twice during initial st

2条回答
  •  無奈伤痛
    2021-02-07 21:31

    Probably your tableView object may instantiate twice. Once i have encountered the same problem due to this.

提交回复
热议问题