iOS开发小问题

  1. UITableView中最后一个section的最后一个cell出现了分割线。(UITableViewStylePlain,UITableViewCellSeparatorStyleSingleLine)
    解决办法:
    tableFooterView设置为一个0.1高度的UIView
_tableView.tableFooterView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, 0.1)];

你可能感兴趣的:(iOS开发小问题)