-
(UITableView *)tableView
{
if (!_tableView) {
UITableView *tableView = [[UITableView alloc] init];
tableView.backgroundColor = [UIColor colorWithHex:0xececec];
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
tableView.tableFooterView = [UIView new];
tableView.delegate = self;
tableView.dataSource = self;
[tableView registerClass:[WarmCell class] forCellReuseIdentifier:WarmCellIdentifier];
[self.view addSubview:tableView];
[self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self.view).insets(UIEdgeInsetsMake(0,0,0,0));
}];
self.tableView.hidden = YES;_tableView = tableView;
}
return _tableView;
}
iphonex 的表示图全屏
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- iOS_autoLayout_Masonry 概述 Masonry是一个轻量级的布局框架与更好的包装AutoLay...
- UITableViewCell 高度计算 UITableView 询问 cell 高度有两种方式:1.rowHei...
- 序引 本系列文章将介绍iOS开发中的UITableView控件,将会分成四篇文章完整的讲述UITableView的...