ApplicationLifecycleMonitoring
public protocol ApplicationLifecycleMonitoring
Monitors the iOS application lifecycle and notifies observers on state changes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Add observer to the monitor.
Declaration
Swift
func addObserver(_ observer: AppUIInstanceStateObservable)
Parameters
observer
The observer to add.
-
Remove observer from the monitor.
Declaration
Swift
func removeObserver(_ observer: AppUIInstanceStateObservable)
Parameters
observer
The observer to remove.