我当前的tableview是这样设置的:
_mainTableView = [[UITableView alloc]
initWithFrame:self.view.bounds style:UITableViewStylePlain];
只需加上, 即可解决tabbar遮挡问题:
_mainTableView.autoresizingMask = UIViewAutoresizingFlexibleHeight |
UIViewAutoresizingFlexibleWidth;
//self.edgesForExtendedLayout = UIRectEdgeNone;