简体   繁体   English

UICollectionView“飞入”效果

[英]UICollectionView 'fly in' effect

I've been looking all over the internet for this animation. 我一直在互联网上寻找这个动画。 When you unlock your iPhone the icons 'fly in' from the outside of the screen to their spots. 解锁iPhone时,图标从屏幕外部“飞入”它们的位置。 Does anyone know where I can find a link on how to implement this in my UICollectionView as the cells load? 有谁知道在单元加载时我可以在UICollectionView中找到有关如何实现此链接的链接?

I just did a screen recording of the Springboard (the iOS desktop) and it looks to me like it just uses an animation of the scale transform and the center transform to zoom in/zoom out on the selected icon. 我只是对Springboard(iOS桌面)进行了屏幕录制,在我看来,它只是使用了比例转换和中心转换的动画来放大/缩小所选图标。 This would be trivial to do using either CAAnimation or a UIView animation. 无论使用CAAnimation还是UIView动画,这都是微不足道的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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