iOS tableView 一共0行时候去掉分割线 和 去掉多余分割线
来源:互联网 发布:linux telnet命令端口 编辑:程序博客网 时间:2024/05/18 00:08
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
tableView.tableFooterView = [[UIView alloc]init];
if (_serviecArr.count == 0) {
tableView.separatorStyle = NO;
}else{
tableView.separatorStyle = YES;
}
return _serviecArr.count;
}
if (_SegmentControl.selectedSegmentIndex == 0) {
if (_personArr.count ==0) {
tableView.separatorStyle = NO;
}else{
tableView.separatorStyle = YES;
}
tableView.separatorStyle = NO;
return _personArr.count;
}
if (_SegmentControl.selectedSegmentIndex == 2) {
if (_evaluArr.count == 0) {
tableView.separatorStyle = NO;
} else{
tableView.separatorStyle = YES;
}
return _evaluArr.count;
}
return 0;
}
0 0
- iOS tableView 一共0行时候去掉分割线 和 去掉多余分割线
- ios tableView去掉多余分割线 和最后一行分割线顶头显示
- iOS Tableview 去掉分割线
- iOS -- TableView去掉分割线
- tableView去掉多余的空行分割线
- 去掉tableView中多余的分割线
- 去掉TableView中多余的分割线
- iOS tableView去掉显示多余的cell分割线
- iOS开发技巧-tableView去掉多余的空行分割线,自定义Cell分割线
- ios开发技巧之tableView去掉多余的空行分割线 自定义cell分割线
- iOS开发技巧-tableView去掉多余的空行分割线,自定义Cell分割线
- uitableviewcell去掉多余分割线
- 一句话去掉tableview 的多余的分割线
- 去掉tableView多余的空白行分割线
- tableView小技巧:让cell分割线充满整个cell,去掉多余的分割线
- iOS TableView 去掉多余行数、最后一行Cell系统分割线顶头
- TableView 去掉多余行数、IOS最后一行Cell系统分割线顶头
- TableView 去掉多余行数、IOS最后一行Cell系统分割线顶头
- Catalan数2
- maven copy
- 202.Happy Number
- HDU 1391 Number Steps(数学题+找规律)
- JavaMail的java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream错误
- iOS tableView 一共0行时候去掉分割线 和 去掉多余分割线
- Swift 中 10 个震惊小伙伴的单行代码
- gerrit安装步骤及控制台输出
- openssl生成公钥私钥对 加解密
- jquery easyui-datagrid 如何清空数据
- iOS开发系列--通知与消息机制
- 18年经验总结:互联网+创业启动不用CTO的秘密!
- nginx 实现js跨越
- map2