UICollectionView animations (insert/delete items)

后端 未结 2 759
情歌与酒
情歌与酒 2020-12-01 00:53

I\'d like to customize the animation styles when a UICollectionViewCell is inserted and/or deleted.

The reason why I need this is that by default I see that inserti

2条回答
  •  借酒劲吻你
    2020-12-01 01:29

    Download the circle Layout. It is a sample custom layout that using

    initialLayoutAttributesForAppearingItemAtIndexPath:  
    finalLayoutAttributesForDisappearingItemAtIndexPath:  
    

    That will be a good working material for you.

提交回复
热议问题