Type Method

iconWithType:

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

Declaration

+ (instancetype)iconWithType:(UIApplicationShortcutIconType)type;

Parameters

type

The system-defined image to use for the icon. For a list of possible images, see the UIApplicationShortcutIconType enumeration.

Return Value

A Home screen quick action icon initialized with the specified system image.

Discussion

Use this method to create icons for actions supported by the system. Users expect system-defined action images to be used only for the intended action.

See Also

Creating a Quick Action Icon

+ iconWithTemplateImageName:

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

+ iconWithSystemImageName:

Creates a Home screen quick action icon using a system symbol image.

+ iconWithContact:

Creates a Home screen quick action icon from the picture for a contact or a monogram of the contact name if the picture unavailable.