xib的视图
xib的尺寸
将xib添加到tableview head上面变成了这个效果!!!
求解决
出来的错误效果
巴扎黑2017-04-17 17:43:14
设置不是在xib 的view那里设置大小吧,我想上面说的设置大小是在你的代码里设置下frame
tabView.frame = CGRectMake(0, 0, Screen_width, 36.0);
迷茫2017-04-17 17:43:14
你试下这个,我看了我的代码是在这里设置头部的
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section