iOS开发小问题

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

猜你喜欢

热点阅读