HeroTransitions / Hero

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

Presented viewController doesnt deinit when dismissing #693

Open hurtado-truelogic opened 3 years ago

hurtado-truelogic commented 3 years ago

What did you do?

What did you expect to happen?

What happened instead?

General Information

rxvincent commented 3 years ago

Seems that when dismiss is performing, it will assign you dismissing viewController in Hero.shared. fromViewController (in HeroTransition.swift). I use unwind more than dismiss, so modify source code and clean Hero.shared. fromViewController after everything done is ok for me.

Hope it will help you