Class

UIApplicationShortcutIcon

An image you can optionally associate with a Home screen quick action to improve its appearance and usability.

Declaration

@interface UIApplicationShortcutIcon : NSObject

Overview

To associate an icon with a quick action, pass it to the quick action item’s initialization method, as described in UIApplicationShortcutItem.

There are three types of quick action icon:

Topics

Creating a Quick Action Icon

+ iconWithType:

Creates a Home screen quick action icon using a system-defined image.

+ iconWithTemplateImageName:

Creates a Home screen quick action icon based on an image in your app’s bundle, preferably in an asset catalog.

+ iconWithContact:

Creates a Home screen quick action icon from the picture for a contact if available, or else creates a monogram from the contact name.

Constants

UIApplicationShortcutIconType

Constants for system-provided icons.

Relationships

Inherits From

Conforms To

See Also

Home Screen Quick Actions

Add Home Screen Quick Actions

Expose commonly used functionality with static or dynamic 3D Touch Home screen quick actions.

UIApplicationShortcutItem

An application shortcut item, also called a Home screen dynamic quick action, that specifies a user-initiated action for your app.

UIMutableApplicationShortcutItem

An item that specifies a configurable user-initiated action for your app (the item is also called a mutable Home screen dynamic quick action).

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