Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITableViewCellSeparatorStyleNone doesn't work with UITableViewStyleGrouped

To hide separators in a UITableView, setting the separatorStyle property to UITableViewCellSeparatorStyleNone works fine if the table style is UITableViewStylePlain. But, for me at least, it doesn't work if the table style is UITableViewStyleGrouped. Has anyone else seen (and hopefully solved) this problem?

like image 884
jfewtr Avatar asked Mar 03 '11 04:03

jfewtr


1 Answers

It doesn't seem to work for me either. You could try

[self.tableView setSeparatorColor:[UIColor clearColor]];

but that removes the outer borders as well.

like image 103
BoltClock Avatar answered Nov 01 '22 03:11

BoltClock