Display Separator only for the Available CellForRow in UITableView

前端 未结 3 1571
渐次进展
渐次进展 2020-12-31 09:37

I am using UITableView with custom cell.
It is working fine but problem is when there is only one or two cell in UITableView.
It is giving the separator for the e

3条回答
  •  猫巷女王i
    2020-12-31 09:52

    Put this peace of code in your viewDidLoad

    self.tblTest.tableFooterView = [[UIView alloc] initWithFrame : CGRectZero];
    

提交回复
热议问题