UICollectionView doesn't render cells

Viewed 822

In my view I have a UITableView which contains cells with horizontal UICollectionView inside. The problem is that sometimes UICollectionViewCells are not rendered on device/simulator. At the same time I can see those cells in the View Hierarchy Debugger:

What I see in the View Hierarchy Debugger: enter image description here

What I see on a device: enter image description here

As you can see, cells (with images) exist and have correct frames and content (proved by the View Hierarchy Debugger). Nevertheless they are not rendered on device/simulator for some reason. What could be the cause of that and how could I fix it?

UPD: another example with "3D" view and bug on one cell, but not on the other

device screenshot: enter image description here

view hierarchy debugger: enter image description here

1 Answers
Related