您的位置:首页 > 其它

tableView不显示分割线或多余分割线

2016-05-31 16:46 387 查看
所有的分割线都不显示

tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

cell后自带暗示箭头

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

不显示多余分割线

[_tableView setTableFooterView:[[UIView alloc] initWithFrame:CGRectZero]];
点击cell不变色

cell.selectionStyle = UITableViewCellSelectionStyleNone;
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tableView cell 小技巧