問題:就算是設(shè)置了automaticallyAdjustsScrollViewInsets = NO
或者 contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
不起作用 查看顯示UITableviewWrapperview
與 UITableView
位置不一致
//添加一個(gè)UIScrollView到最下層,讓UIViewController去自動(dòng)適配你添加的這個(gè)
if (!self.sh_scroll) {
self.sh_scroll = [[UIScrollView alloc]init];
[self.view addSubview:self.sh_scroll];
}
[self.view sendSubviewToBack:self.sh_scroll];