Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to animate the expansion of a UICollectionViewCell's content upon selection? [closed]

I'm trying to reproduce into my own app the animation that occurs when you select a cell in the App Store's Today section. Here's how it looks:

The App Store selection animation

The difficulty here is that the views that make the content of the cell seems to be moving from the cell to another UIViewController (detail) while being animated in the process. I guess it has something to do with custom segue animators. How would you write this animator object, and what are the needed steps to perform on the collection view cell and the detail view controller? (using only UIKit and CoreAnimation)

Thank you in advance. 🙂

like image 836
Pomme2Poule Avatar asked Oct 12 '25 13:10

Pomme2Poule


1 Answers

There is an elegant transition library for iOS like app store animation named HERO.

enter image description here

Please check following link.

https://github.com/HeroTransitions/Hero

like image 52
Rurouni Avatar answered Oct 14 '25 06:10

Rurouni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!