If that is the case then you will need to override the removeFromParentViewController
method of the controller and manually set the tableView property to nil. For example:
-(void) removeFromParentViewController {
[super removeFromParentViewController];
if(self.tableView!=nil) {
self.tableView.delegate = nil;
self.tableView.dataSource = nil;
self.tableView = nil;
}
}
tableView切换频繁崩溃问题
最新推荐文章于 2019-05-15 11:43:40 发布