Bahn-X / swift-composable-navigator

An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind
MIT License
580 stars 25 forks source link

Rely on UIKit to detect screen appearances #3

Closed ohitsdaniel closed 3 years ago

ohitsdaniel commented 3 years ago

Unfortunately, onAppear is broken in SwiftUI iOS >14. Therefore, we fallback to UIKit's viewDidAppear method in Routed<Content> to determine when a screen is shown.

Apple Developer Forums Discussion