One Logo Pool Ball
ExtensionKit · IOS API REFERENCE

PrimitiveAppExtensionScene

struct · iOS 16.0+ · SDK 27.1

@MainActor @preconcurrency struct PrimitiveAppExtensionScene

A type you use to deliver the contents of your app-extension-based UI. 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 <doc://com.apple.documentation/documentation/extensionkit/including-extension-based-ui-in-your-interface>.

Members (2)

get · iOS 16.0+

debugDescription

TypeScript
get debugDescription(): Promise<string>
Swift declaration
@MainActor @preconcurrency var debugDescription: String { get }

A string that provides information about the scene.

get · iOS 16.0+

body

TypeScript
get body(): Promise<never>
Swift declaration
@MainActor @preconcurrency var body: Never { get }

The scene’s user interface.

Skipped declarations

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

PrimitiveAppExtensionScene.init(id:content:onConnection:)

callback cannot propagate synchronous failure

All ExtensionKit types →