HeroTransitions / Hero

Elegant transition library for iOS & tvOS
https://HeroTransitions.github.io/Hero/
MIT License
22.02k stars 1.72k forks source link

Animate source view without matching with ID on pop #700

Open bryan1anderson opened 3 years ago

bryan1anderson commented 3 years ago

I have a UITableViewCell that has several elements I want to animate into a new view when I push it. This works. Image animate into the next UIViewController image views, labels, views, etc.

However, when I pop from the presentedViewController, there is a few that just appears back. Its kind of ugly. It doesn't have any corresponding views on the presentedViewController, so I haven't figured out how to animate it after the pop.

But what I want to have happen is: When I push: I want it to transform small and fade When I pop: I want it to transform from small to large and fade in.

How can I do this?