iOS开发小问题
2017-04-13 本文已影响11人
山是水的故事
- UITableView中最后一个section的最后一个cell出现了分割线。(UITableViewStylePlain,UITableViewCellSeparatorStyleSingleLine)
解决办法:
tableFooterView设置为一个0.1高度的UIView
_tableView.tableFooterView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, 0.1)];