iOS TableViewCell 底下线显示不全解决方案
来源:互联网 发布:.eps用什么软件打开 编辑:程序博客网 时间:2024/05/16 09:50
-(void)viewDidLayoutSubviews {
if ([self.tableViewrespondsToSelector:@selector(setSeparatorInset:)]) {
[self.tableViewsetSeparatorInset:UIEdgeInsetsZero];
}
if ([self.tableViewrespondsToSelector:@selector(setLayoutMargins:)]) {
[self.tableViewsetLayoutMargins:UIEdgeInsetsZero];
}
}
if (cell == nil) {
cell = [[UITableViewCellalloc]initWithStyle:UITableViewCellStyleSubtitlereuseIdentifier:CellIdentifier];
cell.textLabel.font = [UIFontmy_systemFontOfSize:kGlobalFontSize];
cell.selectionStyle =UITableViewCellSelectionStyleGray;
if ([cellrespondsToSelector:@selector(setLayoutMargins:)]) {
[cell setLayoutMargins:UIEdgeInsetsZero];
}
if ([cellrespondsToSelector:@selector(setSeparatorInset:)]){
[cell setSeparatorInset:UIEdgeInsetsZero];
}
}
[tableview setTableFooterView:v];
- iOS TableViewCell 底下线显示不全解决方案
- swift3.0 tableviewcell分割线显示不全解决方案
- [绍棠_Swift] Swift3.0中tableviewcell分割线显示不全解决方案
- IOS应用显示不全
- iOS tableViewCell线的设置及线为什么不显示
- tableViewCell数据显示错乱的解决方案
- IOS 模拟器显示不全问题
- Android 模拟器显示不全的解决方案
- BIRT 在IE10浏览器显示不全解决方案
- linux终端显示内容不全的解决方案
- 视频名字显示不全的解决方案
- ScrollView嵌套ListView显示不全解决方案
- ScrollView嵌套ListView显示不全解决方案
- maven中项目目录显示不全解决方案
- android studio布局突然显示不全解决方案
- iOS tableViewCell点击后显示下拉菜单
- iOS中tableViewCell文字居中显示
- iOS tableViewCell点击后显示下拉菜单
- CNN训练Cifar-10技巧整理
- iOS 设置TableView Separatorinset 分割线从边框顶端开始以及分割线的颜色
- 怎么添加一个tinymix可执行文件的te文件
- MySQL SQL语句优化
- 四书 - 中庸
- iOS TableViewCell 底下线显示不全解决方案
- 评价,星星
- 学习MongoDB--(4-2):MongoDB查询(数组、内嵌文档和$where)
- countdown-min.js使用 倒计时
- 基于N源码Service启动分析
- **c++ stl 顺序容器: begin(),end()和front(),back()区别和使用**
- 函数模板
- SystemUI的下拉状态栏分析
- 学习Markdown基本语法笔记