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
Consider an iOS SwiftUI project that has the following coordinator structure:
App
MainCoordinator
ContentViewCoordinator (@Root of MainCoordinator)
SecondaryCoordinator (@Route(.fullScreen) from ContentViewCoordinator)
In iOS 14.4, performing route(to:) from ContentViewCoordinator to SecondaryCoordinator by some reason has no effect (just nothing happens, no crashes, no console logs), while it works perfectly fine in iOS 14.5 and iOS 15. The issue is reproducible on simulators with Xcode 13.4.
Here's a full source code of an app that illustrates the issue:
Tapping on the "Open secondary view" button has no effect in iOS 14.4 simulator, but works well in iOS 14.5 and iOS 15. I was not able to confirm if it's reproducible on a physical device because I don't have any devices running that particular iOS version.
Interestingly enough, if I just get rid of the MainCoordinator and instantiate ContentViewCoordinator right in the App's body, it starts working fine on iOS 14.4.
Consider an iOS SwiftUI project that has the following coordinator structure:
In iOS 14.4, performing
route(to:)
from ContentViewCoordinator to SecondaryCoordinator by some reason has no effect (just nothing happens, no crashes, no console logs), while it works perfectly fine in iOS 14.5 and iOS 15. The issue is reproducible on simulators with Xcode 13.4.Here's a full source code of an app that illustrates the issue:
Tapping on the "Open secondary view" button has no effect in iOS 14.4 simulator, but works well in iOS 14.5 and iOS 15. I was not able to confirm if it's reproducible on a physical device because I don't have any devices running that particular iOS version.
Interestingly enough, if I just get rid of the MainCoordinator and instantiate ContentViewCoordinator right in the App's body, it starts working fine on iOS 14.4.
The full source code of the example app is also available on GitHub: https://github.com/vadimbelyaev/StinsenNavigationIssueExample
Let me know if I can provide any additional info that can help resolving the issue.
The text was updated successfully, but these errors were encountered: