In the previous recipe, we saw how you can index a user's activities so that the user can find them in Spotlight search and, when the user clicks on it, he will be able to continue his activity by restoring the app state. In this recipe, we will see how to index app content using the Core Spotlight framework. This framework is meant to work best with user or app-specific data. This kind of indexing will help users to find their content in Spotlight searching and they can click on it to find more information about this content. The Core Spotlight framework supports indexing items anytime, even when the app loads directly. In the following demo, we will build a simple demo on how to present some data in an app and index that data in Spotlight.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia