Contents

actionIdentifiers

The identifiers that specify custom actions the app supports for the item.

Declaration

var actionIdentifiers: [String] { get set }

Discussion

The identifiers correspond to the CoreSpotlightActionIdentifier values you specify in the CoreSpotlightActions key of the app’s Info.plist file.

When the user selects a custom action on an indexed item, the system launches your app and invokes application(_:continue:restorationHandler:). The userInfo dictionary of the specified NSUserActivity includes the corresponding Info.plist entry using the key CSActionIdentifier.

See Also

Describing supporting actions