canopas/UIPilot

iPad changing orientation is causing a pop route by the system. UIPilot - root route popped by system

renatomateusx opened this issue · 1 comments

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.

Hello @renatomateusx, sorry but I'm not able to reproduce this issue with your given version, It would be so helpful if you provide the reproduction steps.