I\'ve noticed that when calling setLayout:animated
in a UICollectionView
to switch between two layouts, the currently visible cell doesn\'t adhere to t
I got another workaround. Since all the cells belong to the same superview, calling bringSubviewToFront :
when cell displaying works. Specifically, by looking into Debug View Hierarchy, though UICollectionViewLayout not renders cells according to zIndex, it still shows cells according to the reverse order that each subview being added to it's super view.