TechnologiesApp Extensions & System Integration

ExtensionKit

iOSmacOStvOSwatchOSvisionOS

ExtensionKit hosts and manages app extensions, running them out-of-process and providing the UI through which users enable or disable a host app's extensions. Use EXAppExtensionBrowserViewController to present the browser where people manage the extensions available to your app. Embed an extension's interface in your app with EXHostViewController, and respond to its lifecycle by conforming to EXHostViewControllerDelegate.

Managing Available Extensions 1

Present the system-provided browser where people enable or disable the extensions available to your app.

  • Cl
    EXAppExtensionBrowserViewControllermacOS 13.0+
    A view controller that displays an interface to enable or disable the host

Hosting an Extension's Interface 2

Embed an out-of-process extension's user interface in your app and respond to its lifecycle.

  • Cl
    EXHostViewControllermacOS 13.0+
    A view controller that hosts remote views provided by an app extension.
  • Pr
    EXHostViewControllerDelegatemacOS 13.0+
    The delegate for a hosted view controller.

Structures 3

  • St
    AppExtensionSceneBuilderiOS 16.0+
    A custom parameter attribute that constructs extension scenes from closures.
  • St
    AppExtensionSceneConfigurationiOS 16.0+
    An object you use to configure an app extension that provides a custom UI.
  • St
    PrimitiveAppExtensionSceneiOS 16.0+
    A type you use to deliver the contents of your app-extension-based UI.

Protocols 1

  • Pr
    AppExtensionSceneiOS 16.0+
    An interface you use to provide a specific scene from your app extension’s UI.

Extends 3

AppExtensionNeverArray
← App Extensions & System Integration