ApplicationLifecycleMonitor
public class ApplicationLifecycleMonitor : AppLifecycleMonitor
Implementation of AppLifecycleMonitor
which takes only UIApplication lifecycle.
Designed for the case when the user app doesn’t support UIScenes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public func addObserver(_ observer: AppUIInstanceStateObserver)
-
Declaration
Swift
public func removeObserver(_ observer: AppUIInstanceStateObserver)