Contents

PrimitiveAppExtensionScene

A type you use to deliver the contents of your app-extension-based UI.

Declaration

@MainActor @preconcurrency struct PrimitiveAppExtensionScene

Mentioned in

Overview

When defining an AppExtensionScene type, provide a PrimitiveAppExtensionScene structure as the body of that type. This type facilitates the delivery of the scene’s UI views back to the host app for incorporation into the host view controller. When constructing this type, specify one of the defined scene identifiers that the host app supports.

For more information about creating scenes for your app extension, see Including extension-based UI in your interface.

Topics

Creating a primitive extension scene

Defining the scene contents

Describing the scene

Default Implementations

See Also

UI definition