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
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand