设置tableView的frame为当前屏幕大小
childVCView.MY_x = i * scrollView.MY_Width;
childVCView.MY_y = 0;
childVCView.MY_Height = [UIScreen mainScreen].bounds.size.height;
设置tableview的内边距contentInset 防止cell被导航栏或者tabbar挡住
self.tableView.contentInset = UIEdgeInsetsMake(99, 0, 49, 0)
网友评论