One Logo Pool Ball
ExtensionFoundation · IOS API REFERENCE

AppExtensionProcess.Configuration

struct · iOS 26.0+ · SDK 27.1

struct Configuration

A structure that holds the identity of an app extension and process-related details. This type manages the configuration details you use to create an ``AppExtensionProcess`` structure. Create an instance of this type and initialize it with the identity of the app extension you want and a closure to run if the app extension terminates unexpectedly.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(appExtensionIdentity: AppExtensionIdentity, onInterruption?: (() => void)): AppExtensionProcess_Configuration
Swift declaration
init(appExtensionIdentity: AppExtensionIdentity, onInterruption: @escaping () -> Void = {})
get · iOS 26.0+

appExtensionIdentity

TypeScript
get appExtensionIdentity(): AppExtensionIdentity
Swift declaration
var appExtensionIdentity: AppExtensionIdentity { get set }

The identifying information for the app extension you want to launch. Specify this value at initialization time. Fetch identity information from the ``AppExtensionPoint/Monitor`` type.

set · iOS 26.0+

appExtensionIdentity

TypeScript
set appExtensionIdentity(value: AppExtensionIdentity)
Swift declaration
var appExtensionIdentity: AppExtensionIdentity { get set }

The identifying information for the app extension you want to launch. Specify this value at initialization time. Fetch identity information from the ``AppExtensionPoint/Monitor`` type.

get · iOS 26.0+

onInterruption

TypeScript
get onInterruption(): (() => Promise<void>)
Swift declaration
var onInterruption: () -> Void

The closure to run if the app extension’s process exits unexpectedly. Use your closure to respond to the loss of the app extension process. For example, use it to try and reestablish connection to the app extension or to remove the app extension from the list of active extensions.

set · iOS 26.0+

onInterruption

TypeScript
set onInterruption(value: (() => void))
Swift declaration
var onInterruption: () -> Void

The closure to run if the app extension’s process exits unexpectedly. Use your closure to respond to the loss of the app extension process. For example, use it to try and reestablish connection to the app extension or to remove the app extension from the list of active extensions.

Skipped declarations

No declarations were skipped in this snapshot.

All ExtensionFoundation types →