I have a UINavigationController presented in a .pageSheet
style, which may contain a SFSafariViewController. Other ViewControllers presented in the UINavigationController automatically handle the pull-to-dismiss interaction, but SFSafariViewController doesn't in this case (even though when presented by itself, it does it for itself). Any ideas on how to get this working?
Example (sorry for the mixing of Obj-C and swift):
SFSafariViewController *safariVC = [[SFSafariViewController alloc] initWithURL:url];
safariVC.modalPresentationStyle = UIModalPresentationPageSheet;
// elsewhere
let navigationContainer = UINavigationController(rootViewController: safariVC)
navigationContainer.modalPresentationStyle = .pageSheet
parentVC.present(navigationContainer, animated: animated)