Event
public enum Event
Encapsulates changes to the runtime state of the extension’s host app.
-
The extension’s host app has moved from the inactive to the active state.
Declaration
Swift
case didBecomeActive(NSExtensionContext)
-
The extension’s host app has begun running in the background.
Declaration
Swift
case didEnterBackground(NSExtensionContext)
-
The extension’s host app is about to begin running in the foreground.
Declaration
Swift
case willEnterForeground(NSExtensionContext)
-
The extension’s host app is about to move from the active to the inactive state.
Declaration
Swift
case willResignActive(NSExtensionContext)