iOS 中UITableViewController 中tableView 会被状态栏覆盖的问题

解决办法在 生命周期函数viewDidAppear中设置即可

1 - (void)viewDidAppear:(BOOL)animated
2 
3 {
4 
5     self.tableView.frame = CGRectMake(0, 20, 320, 480);
6 
7 }

转载于:https://www.cnblogs.com/pretty-guy/p/4030971.html

猜你喜欢

转载自blog.csdn.net/weixin_33812433/article/details/93199881