Solution Set in the life cycle can function in viewDidAppear
1 - (void)viewDidAppear:(BOOL)animated 2 3 { 4 5 self.tableView.frame = CGRectMake(0, 20, 320, 480); 6 7 }
Reproduced in: https: //www.cnblogs.com/pretty-guy/p/4030971.html
Solution Set in the life cycle can function in viewDidAppear
1 - (void)viewDidAppear:(BOOL)animated 2 3 { 4 5 self.tableView.frame = CGRectMake(0, 20, 320, 480); 6 7 }
Reproduced in: https: //www.cnblogs.com/pretty-guy/p/4030971.html