I want to remove the line separator in a grouped table view cell, but not the border of the table. I used this code to remove the separator but it removes the border also:
profileTable.separatorColor:[UIColor clearColor];
The screen shot explains what I need.
Is there any code available to remove it?
Following code may be help to you.
profileTable.separatorStyle = UITableViewCellSeparatorStyleNone;
One solution to your problem, could be to create a custom layout for your grouped tableview. So you would create a top, middle and bottom part of the cells, and then add a border only to the sides.
I used this tutorial: http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With