阅读背景:

如何设置UICollectionView层在快速滚动时不移动/静态

来源:互联网 

I added a gradient layer to UICollectionView, but the layer is set to the width of the screen. I am trying to keep the layer static while scrolling but can't find a solution. Tried setting to both the frame of the collectionView and to the currentVC, when I scroll the layer is also scrolling. This is my code so far, thank you for your help.I added a gradient layer to UICollectionView, b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: