Core App

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



Ensuring the Privacy of User Data

Protect user privacy by securing personal data and respecting the user's wishes with how data is used.

class UIApplication

The centralized point of control and coordination for apps running in iOS.

protocol UIApplicationDelegate

A set of methods that are called by the singleton UIApplication object in response to important events in the lifetime of your app.

func UIApplicationMain(Int32, UnsafeMutablePointer<UnsafeMutablePointer<Int8>>!, String?, String?)

Creates the application object and the application delegate and sets up the event cycle.

Device Environment

class UIDevice

A representation of the current device.

class UITraitCollection

The iOS interface environment for your app, defined by traits such as horizontal and vertical size class, display scale, and user interface idiom.

protocol UITraitEnvironment

A collection of methods that makes the iOS interface environment available to your app.

protocol UIAdaptivePresentationControllerDelegate

A set of methods that, in conjunction with a presentation controller, determine how to respond to trait changes in your app.


class UIDocument

An abstract base class for managing discrete portions of your app's data.

class UIManagedDocument

A managed document object that integrates with Core Data.


class UIPasteboard

An object that helps a user share data from one place to another within your app, and from your app to other apps.

class UIPasteConfiguration

A paste configuration for use by responder objects to declare their ability to accept specific data types for pasting and for drag-and-drop activities.


Data Management

protocol UIDataSourceModelAssociation

A set of methods that defines an interface for providing persistent references to data objects in your app.

Guided Access

protocol UIGuidedAccessRestrictionDelegate

A set of methods you use to add custom restrictions for the Guided Access feature in iOS.

func UIGuidedAccessRestrictionStateForIdentifier(String)

Returns the restriction state for the specified guided access restriction.

See Also

App Structure

Resource Management

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

App Extensions

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software