Contents

NSExtensionContext

The host app context from which an app extension is invoked.

Declaration

class NSExtensionContext

Overview

When a host app sends a request to an app extension, it provides an extension context. For many app extensions, the most important part of the context is the data the user wants to work with, which is contained in the inputItems property.

Topics

Handling requests

Opening URLs

Storing extension items

Controlling media playback in notification content extensions

Populating your share extension with metadata

Getting Siri-related information

Supporting broadcasting

Handling notification actions

Working with notifications

Working with notification messages

Deprecated

See Also

Extension Support