ios - Border of UICollectionViewCells doesn't show up for the last two cells -
the border shows cells except last 2 cells (see screenshot 1). weird thing is, border shows first 2 cells (see screenshot 2). in advance!
basically, you're drawing line that's quarter pixel wide (on retina display, 8 of pixel on non-retina) in light color, after of scaling, dithering, , clipping (the line drawn half outside layer, gets clipped) done, you're not getting anything. change line width 0.5 (1 retina pixel) , should work.
Comments
Post a Comment