Is there a way to remove the separator line from a UITableView?

后端 未结 9 2104
深忆病人
深忆病人 2020-11-29 01:00

I\'m looking for a way to completely remove the separator line in a UITableView when in the plain mode. This is done automatically in grouped, but this also changes the dime

9条回答
  •  情书的邮戳
    2020-11-29 01:18

    - (void)viewDidLoad {
        [super viewDidLoad];
        [self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
    }
    

提交回复
热议问题