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.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia