Initializer

init(systemImageName:)

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

Declaration

convenience init(systemImageName: String)

Parameters

systemImageName

The name of the system symbol image. Use the SF Symbols app to look up the names of system symbol images. You can download this app from the design resources page at developer.apple.com.

Return Value

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

See Also

Creating a Quick Action Icon

init(type: UIApplicationShortcutIcon.IconType)

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

init(templateImageName: String)

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

init(contact: CNContact)

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