Instance Property

localizedTitle

The required, user-visible title for the Home screen dynamic quick action.

Declaration

var localizedTitle: String { get }

Discussion

Every Home screen dynamic quick action must have a user-visible title.

If the title fits on one line, the system displays it as a single line quick action. If the title is too long for one line and you have not specified a localizedSubtitle string, the system displays the title on two lines.

To internationalize the title for a Home screen dynamic quick action, employ the NSLocalizedString Foundation function, described in Foundation Functions, along with a Localizable.strings file in your Xcode project.

See Also

Inspecting a Home Screen Dynamic Quick Action

var localizedSubtitle: String?

The optional, user-visible subtitle for the Home screen dynamic quick action.

var type: String

A required, app-specific string that you employ to identify the type of quick action to perform.

var icon: UIApplicationShortcutIcon?

The optional icon for the Home screen dynamic quick action.

var userInfo: [String : NSSecureCoding]?

Optional, app-specific information that you can provide for use when your app performs the Home screen quick action.