xib的视图
xib的尺寸
将xib添加到tableview head上面变成了这个效果!!!求解决
出来的错误效果
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
tabView has no frame set
tableview has no size set
The setting is not to set the size in the view of xib. I think the setting size mentioned above is to set the frame in your codetabView.frame = CGRectMake(0, 0, Screen_width, 36.0);
You try this, I saw my code is setting the header here
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section
tabView has no frame set
tableview has no size set
The setting is not to set the size in the view of xib. I think the setting size mentioned above is to set the frame in your code
tabView.frame = CGRectMake(0, 0, Screen_width, 36.0);
You try this, I saw my code is setting the header here