IApplicationLifecycle
Receives application-wide startup, scene foreground and background, and shutdown notifications.
Startup completes before UIKit creates the first window. Foreground, background, and shutdown notifications originate in UIKit callbacks and therefore cannot delay the operating system. Shutdown is best-effort because iOS can terminate a suspended application without notifying it.
- Kind: Interface
- Namespace: SkeleKit
Methods
EnterBackgroundAsync
Runs when an application scene enters the background.
Returns
EnterForegroundAsync
Runs when an application scene returns to the foreground.
Returns
StartAsync
Runs once after SkeleApplication.Current is assigned and before UIKit starts.
Keep startup short. UIKit objects are not available until this method completes.
Returns
StopAsync
Runs at most once when UIKit reports that the application is stopping.
Returns