简体   繁体   中英

Swift UICollectionView Cell Transition Effect

I use full frame UICollectionView as PageViewController. I want to add transition style when passing next/previous item. Normally cells are following each other start points and end points but I want to give an effect that "CrossFade" effect like in this library - https://github.com/KelvinJin/AnimatedCollectionViewLayout .

But I want to keep the first cell in the backgorund and second cell cover the first cell "like lay a sheet" .

Thanks in advance

为此使用 collectionView 自定义流布局并实现所需的转换。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM