App Extensions

Extend your app's basic functionality to other parts of the system.


Extension Support

Use these Foundation classes to manage interactions between your app extension and its hosting app.

protocol NSExtensionRequestHandling

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

class NSExtensionContext

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

Document Provider

class UIDocumentPickerExtensionViewController

The principal class for the Document Picker View Controller extension.

class NSFileProviderExtension

The principal class for the File Provider extension.

Custom Keyboard

protocol UITextDocumentProxy

An object that provides textual context to a custom keyboard.

protocol UIInputViewAudioFeedback

A property that enables a custom input or keyboard accessory view to play standard keyboard input clicks.

class UIInputViewController

The primary view controller for a custom keyboard app extension.

class UILexicon

A read-only array of term pairs, each in a lexicon entry object, for use by a custom keyboard.

class UILexiconEntry

A read-only term pair, available within a lexicon object, for use by a custom keyboard.

See Also

App Structure

Core App

Manage your app's data model and its interactions with the system.

Resource Management

Manage the images, strings, storyboards, and nib files that you store outside your main executable.