Closed Maryom closed 7 years ago
This has to to with the nature of modal viewControllers in iOS. Please consult Stackoverflow for more information: https://stackoverflow.com/questions/29271880/viewdidappear-not-called-when-the-modal-view-is-dismissed
One thing you could do is to build up a delegate chain between the presenting and the presented viewController to react to the events you want.
@SebastianBoldt Thank you. I solved my problem as following:
present(homeVC, animated: true) { _ in
UserDefaults.standard.set(Sound.currentShaik, forKey: "currentShaik")
}
Hi,
Thanks for your repo. Before I used Jelly
viewWillDisappear
was called. Now with JellyviewWillDisappear
never called! Any help?