Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
renatomateusx opened this issue Sep 5, 2023 · 1 comment

Comments

@renatomateusx
Copy link

renatomateusx commented Sep 5, 2023

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.

@cp-amisha-i
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants