- Which objects are used to represent an item that you would like to index in Spotlight?
b) NSUserActivity
and CSSearchableItem
.
- What happens when a user selects a Spotlight search result that points to your app?
a) AppDelegate
is asked to resume a user activity that represents the item.
- How do you add an item to the Spotlight index?
a) By passing CSSearchableItem
to CSSearchableIndex
or setting a user activity as the current activity.
- Does it make sense to index the same user activity multiple times?
b) Yes, the more often an activity is performed in the app, the higher it will rank in the Spotlight search results.
- What are Smart App Banners?
a) You can add Smart App Banners to web pages to point visitors to your app.
- What are Universal Links?
a) Universal links are shareable web links that open your app if it's installed.
- What happens when your app is expected to open a Universal Link?
b) AppDelegate
is asked to open the URL.