UICollectionView setLayout:animated: not preserving zIndex

前端 未结 7 2080
既然无缘
既然无缘 2021-02-01 20:12

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

7条回答
  •  既然无缘
    2021-02-01 20:55

    This bit me too. After several tests I realized that UICollectionView will force selected cells to be on top, regardless of the z-index.

提交回复
热议问题