I’ve written a custom GridView (UIScrollView Subclass) and decided to use a standard UITableViewCells as Cells because they have all the functionality I need.
Everything works fine but I’ve noticed that sometimes I have a thin gray line at the top of a cell.
I actually thought that the UITableView handles the separators of the cells and they actually don’t belong to a UITableViewCell but it seems to be that I’m wrong.
In fact I want to get rid of them but I don’t know how.
Does anyone has experience with this or is the only way to make a custom cell class with the features of a UITableViewCell?
Here’s a screenshot:

After some experimentation, try & error and subview iterating/checking I can tell that the separator is definitely part of an
UITableViewCell. Thanks to @Valeriy Van.But it is strictly handled by the
UITableViewand is empty if it is not populated by the TableView.Now to the lines in the image above:
These are not separators. They just look like that, such a damn coincidence.
They happen when the Graphics tries to draw something at subpixel-precise coordinates.
This can happen, when the coordinates and/or sizes (the frame) of an visible object (the layer of the view) are between two integer values and the GL tries to render it properly.
Due the “overprecise” frame, the Gl tries to interpolate to integer frames or just not round properly.
So it can happen, like in the picture above, that the first line is stretched or the y-coordinate wrong by one pixel.
This can also happen in a
UITableViewif you return “overprecise” values for cell-heights.