1. TableVIew向下拉44像素  添加Auto layout

2. Extended edge 选择Under top bars

2. 在Viewdidload中添加代码

 

if ([[UIDevice currentDevice].systemVersion floatValue] >= 7){
tableView.contentInset = UIEdgeInsetsMake(20, 0, 0, 0);
}

相关文章: