Removing cell borders from a section of grouped-style UITableView

后端 未结 15 2112
南旧
南旧 2020-12-04 07:56

I have a UITableViewController initialized with the grouped style and having multiple sections. For one of these sections, I\'d like its constituent cells to be completely t

15条回答
  •  自闭症患者
    2020-12-04 08:17

    The easiest way to remove cell borders from a section of grouped-style UITableView:

    [tableViewOutlet setBackgroundView:nil];
    

    in the viewDidLoad method.

提交回复
热议问题