Specify Spotlight keywords iOS 9

后端 未结 2 634
旧时难觅i
旧时难觅i 2021-01-07 07:06

In iOS 9, is there a way to give spotlight a list of keywords by which users can search for a specific app?

Example scenario: App Title (as displayed on spring b

相关标签:
2条回答
  • 2021-01-07 07:51

    CoreSpotlight Framework does it.

    • https://developer.apple.com/library/prerelease/ios/documentation/CoreSpotlight/Reference/CoreSpotlight_Framework/

    • https://www.shinobicontrols.com/blog/ios9-day-by-day-day1-search-apis

    0 讨论(0)
  • 2021-01-07 08:06

    You can achieve this by using either NSUserActivity or Core Spotlight framework.

    Keywords property of NSUserActivity class can be used. OR In Core Spotlight framework, keywords property of CSSearchableItemAttributeSet can be used.

    0 讨论(0)
提交回复
热议问题