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 s开发者_开发百科ome 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).
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.
精彩评论