UiCollectionView cells issue
<p>I have an collectionview with various cells but I have a problem:</p>

<p>if I execute code on iPhone 6s simulator I get this (I want this on every device):</p>

<p><a href="https://i.stack.imgur.com/sLeFLl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLeFLl.png" alt="enter image description here"></a></p>

<p>if I execute it on iPad Retina I get this:</p>

<p><a href="https://i.stack.imgur.com/T9OqIl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T9OqIl.png" alt="enter image description here"></a></p>

<p>and if I execute it on iPhone 5 (I dont see cells):
<a href="https://i.stack.imgur.com/vHkHIl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vHkHIl.png" alt="enter image description here"></a></p>

<p>How do I solve this problem?
Can you help me?</p>

<p>//UPDATE:</p>

<p>if I remove all object in uicollectionviewcell (in this case only the image view) everything work fine (the cells are the same on iPad, iPhone 5 I see the cell) but naturally in the cell I havent objects</p>