diff --git a/Tusker/Screens/Utilities/UIViewController+Children.swift b/Tusker/Screens/Utilities/UIViewController+Children.swift index d54f2fd1..2c1cdc2c 100644 --- a/Tusker/Screens/Utilities/UIViewController+Children.swift +++ b/Tusker/Screens/Utilities/UIViewController+Children.swift @@ -50,8 +50,11 @@ extension UIViewController { } func removeViewAndController() { + beginAppearanceTransition(false, animated: false) view.removeFromSuperview() + willMove(toParent: nil) removeFromParent() + endAppearanceTransition() } }