I have a
, and the separator property is set to
Each cell has 3
, called here backgroundViews
, of the cell height, placed with equal width side by side. They present a background color.
Each of these backgroundViews
as ist own
has the same size as its backgroundView
and its subviews are layed out by autolayout
, i.e. the
have margins of 0 to their backgroundView
, and the 3 backgroundViews
have margins of 0 to the
top and bottom, the left backgroundView
has a margin of 0 to the left edge of the cell, the right backgroundView
has a margin of 0 to the right cell edge, and all 3 backgroundViews
have equal widths.
In the simplest case, the
property of the
, so that the colored background of the backgroundViews
When I run the app on an iPad (simulator or device), everything looks fine.
When I run it on an iPhone
(simulator or device), there are sometimes little separating lines between some of the cells
, maybe 1 point high (in the screenshot below after the 2nd and the 5th cell).
This separating line is not related to the backgroundViews
, since these have a background color, and the separating line is white. It is neither related to the
, nor the
, since both have a clear background color. It is neither related to the
itself, since its background color is set to black.
I have no idea where this separating line comes from, nor why it shows up only on the iPhone, and not of the iPad.
Any suggestion how I could get rid of these annoying lines is welcome.