UITableView - remove separator for “inactive” rows

前端 未结 2 1259
离开以前
离开以前 2021-01-23 06:15

I have screen similar to: \"enter

I want to remove separator below last \"active\" cell in

2条回答
  •  [愿得一人]
    2021-01-23 06:50

    This is normal behavior for a plain style table view with just a few rows. A simple solution is to provide an empty table footer:

    self.tableView.tableFooterView = [[UIView alloc] init];
    

提交回复
热议问题