Protocol

NSExtensionRequestHandling

The interface an app extension uses to respond to a request from a host app.

Overview

The NSExtensionRequestHandling protocol provides a life cycle hook into an app extension. An extension’s principal object can implement this protocol and use beginRequestWithExtensionContext: to keep track of the request from a host app.

Topics

Preparing for a Request

beginRequestWithExtensionContext:

Tells the extension to prepare for a host app’s request.

Required.

See Also

Extension Support

NSExtensionContext

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