在使用UITableView 的时候在cell下方总是会出现一些无用的线条 看着很丑,两个方法可以去解决这个问题

1、设置隐藏线条


self.tableView.separatorStyle =NO;



效果图
UITableViewCell
2、直接粗暴的加上尾视图

self.tableView.tableFooterView = [UIViewnew];

效果图

UITableViewCell

相关文章:

  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2021-06-18
  • 2021-11-26
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案