Indicates that the activity type to continue is related to a searchable item.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- Core Spotlight
CSSearchable constants help your app restore state or an activity when a user opens a searchable item listed in a search result. When the user opens the item, Handoff calls your app delegate’s
application(_: method with
CSSearchable. Handoff also delivers an
NSUser object that contains a
user dictionary in which the key is
CSSearchable and the associated value is the unique identifier that was used when the item was created. Your app delegate can check for the unique identifier in its
To learn more about enabling Handoff in your app, see the Handoff Programming Guide.