Core Spotlight
suggest changeObjective-C
-
Create a new iOS project and add CoreSpotlight and MobileCoreServices framework to your project.
-
Create the
CSSearchableItem, set itsuniqueIdentifier,domainIdentifier, andattributeSet, then index it with[[CSSearchableIndex defaultSearchableIndex] ...], as shown below. -
Test the index.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents