Post

Replies

Boosts

Views

Activity

Reply to SwiftUI presentationMode dismiss not work on specific case
Hi, I'm having this issue in a SwiftUI view presented modally using a UIHostingController from UIKit. The self.presentationMode.wrappedValue.dismiss() is not working when the UIHostingController is presented modally like: navigationController?.present(controller, animated: true) but it works when it's 'pushed' like: navigationController?.pushViewController(controller, animated: true)
Oct ’20