Just like when I search for "twitter" on my desktop, it comes up with X.
I want to add keywords to the system search App name
Hi @Peng.Ruilin,
This behavior in Spotlight is handled via the Core Spotlight framework:
- On iOS, add the key
kMDItemKeywords
to your app'sInfo.plist
. Its value should be aString
, and include a comma-separated list of keywords. - For macOS, add the key
MDItemKeywords
to your app'sInfo.plist
in a similar way.
This should enable Spotlight to be able to use those keywords to return your app in the Spotlight results.
Note: If the project uses sting catalogs for its Info.plist
files, consider creating localized versions of this keyword list for each locale your app(s) supports on each platform.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer