Reputation: 12345
Please refer to the image.
If I use
[self.tableView initWithFrame:CGRectMake(0, 0, 320, 320)
style:UITableViewStyleGrouped];
There is this small WHITE Line below the tableView Section. I thought is was a bug in the app, but it turns out that a lot of apps have this on them and some of them have this corrected.
How do I get rid of that white line ?
(The screen shot is an image of a section
and I have set the background of UIView
and tableView
as green so that the line is clearly visible).
Upvotes: 1
Views: 266
Reputation: 6479
Try setting the tableView's separatorStyle
property to UITableViewCellSeparatorStyleSingleLine
. That looks a lot like what happens when UITableViewCellSeparatorStyleSingleLineEtched
is set instead, perhaps in a nib.
Upvotes: 4