I was overriding present to force iPhone to present with full screen:
class NavigationController: UINavigationController {
// force everything presented to be presented fullscreen on iPhone but NOT on iPad
override func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil) {
if UIDevice.current.userInterfaceIdiom == .phone {
viewControllerToPresent.modalPresentationStyle = .fullScreen
}
super.present(viewControllerToPresent, animated: flag, completion: completion)
}
}
When I stopped doing that the problem went away.
Topic:
App & System Services
SubTopic:
Core OS
Tags: