Contents

init(type:)

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

Declaration

convenience init(type: UIApplicationShortcutIcon.IconType)

Parameters

  • type:

    The system-defined image to use for the icon. For a list of possible images, see the Icontype 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