Instance Property

userInfo

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

Declaration

var userInfo: [String : NSSecureCoding]? { get }

Discussion

The keys and values in this property’s dictionary must conform to the NSSecureCoding protocol, and must be property-list-encodable. If they are not, the system raises a runtime exception when initializing the quick action. For information about property-list-encodable data, see Serializing Property Lists in Archives and Serializations Programming Guide and see PropertyListSerialization.

See Also

Inspecting a Home Screen Dynamic Quick Action

var localizedTitle: String

The required, user-visible title for the 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.