One Logo Pool Ball
ExtensionFoundation · IOS API REFERENCE

AppExtension

protocol · iOS 16.0+ · SDK 27.1

protocol AppExtension

An interface you use to declare the content, structure, and behavior of an app extension. This type provides the entry point for an app extension, and every app extension must have a concrete type that adopts it. When a host app launches an app extension, the system looks for an object that adopts this protocol. The protocol provides default implementations of the code required to run the app extension. When adopting this protocol, implement the ``configuration`` property and provide a type capable of establishing an XPC connection to the host app. If your app extension sends only data to the host app, and doesn’t provide a UI, provide a type that implements the ``AppExtensionConfiguration`` protocol. If your extension provides UI elements for the host app to display, instead provide an instance of the <doc://com.apple.documentation/documentation/extensionkit/appextensionsceneconfiguration> type.

Members (1)

get · iOS 26.2+

extensionPoint

Swift declaration
@MainActor var extensionPoint: AppExtensionPoint { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AppExtension.main()

Static protocol requirements cannot be called through an instance.

All ExtensionFoundation types →