I have an app that uses UIPilot and when we change from portrait to landscape or vice versa, that code is checked and executed.
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
if let stackSizeProvider = stackSizeProvider, stackSizeProvider() > navigationController.viewControllers.count {
self.popHandler?()
}
}
This is happening on the 2.0.2 version.
I have an app that uses UIPilot and when we change from portrait to landscape or vice versa, that code is checked and executed.
This is happening on the 2.0.2 version.