You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug that prevents previous coordinators navigation controller (it's children and presented view controllers as well) to remove from UIApplication.shared.keyWindow's stack, when you set another coordinator as root:
let firstCoordinator = FirstCoordinator()
firstCoordinator.strongRouter.trigger(.another)
Hello everyone,
There is a bug that prevents previous coordinators navigation controller (it's children and presented view controllers as well) to remove from UIApplication.shared.keyWindow's stack, when you set another coordinator as root:
let firstCoordinator = FirstCoordinator()
firstCoordinator.strongRouter.trigger(.another)
`
class FirstCoordinator: NavigationCoordinator {
}
class SecondCoordinator: NavigationCoordinator {
}
`
In this case if you check ui debugger you will see old view controllers and navigation controller in the stack.
NOTE: This happens on iOS 12 (and maybe 11 as well, but not sure).
It works good on iOS 13.
I have attached sample project too see the problem more detailed:
testMultiXCoordinator.zip
Thanks
Giorgi
The text was updated successfully, but these errors were encountered: