ios - xib视图添加不到tableview的head上面!!求解决!!!
高洛峰
高洛峰 2017-04-17 17:41:14
0
4
383


xib的视图


xib的尺寸


将xib添加到tableview head上面变成了这个效果!!!
求解决


出来的错误效果

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(4)
洪涛

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

- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template