使用collectionView实现卡片式翻页效果,支持左右拖拽翻页和点击左右翻页键翻页;
当前显示视图停止与屏幕正中间,通过设置flowlayout实现视图的缩放
github链接:
https://github.com/MaggiezzZ/CollectionCardPage.git
效果图如下:
使用collectionView实现卡片式翻页效果,支持左右拖拽翻页和点击左右翻页键翻页;
当前显示视图停止与屏幕正中间,通过设置flowlayout实现视图的缩放
github链接:
https://github.com/MaggiezzZ/CollectionCardPage.git
效果图如下: