Closed pelayomartinez closed 2 years ago
I assume it's because your two view controllers don't have all the views. It's an issue I find a bit annoying with Hero
... your view controller needs to create "fake" views (with alpha 0) is you want Hero
to create accurate animations. It would be nice if Hero could create these fake views when they are missing in one view controller and assume they should appear/dismiss.
I tried creating a hero zoom animation for a smooth transition between two view controllers, but it was not smooth at all (See this screen recording)
iOS Version(s): 12.0
Swift Version: 4.2
Devices/Simulators: Real iPhone 7 Plus
Anyone able to give me some insight I would really appreciate it! TIA
My Code:
` //My code