'Incorporating app state messages in SwiftUI within an ObjC (non-SwiftUI) application
I'm incorporated SwiftUI in my "old" Objc/Swift app. Now, how can I register to app state changes in my SwiftUI views? (going to foreground/background/active/inactive) It seems scenePhase environment variables doesn't change in this situation and I can't observe it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
