Questions

  1. Which objects are used to represent an item that you would like to index in Spotlight?

a) NSUserActivity and CSUserActivity.
b) NSUserActivity and CSSearchableItem.
c) CSSearchableItem and CSSearchableItemAttributeSet.

  1. 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.
b) AppDelegate is asked to handle a URL that represents the item.
c) CSSearchableIndexDelegate is asked to handle the selected item.

  1. How do you add an item to the Spotlight index?

a) By passing a CSSearchableItem to CSSearchableIndex or setting a user activity as the current activity.
b) By implementing CSSearchableIndexDelegate.
c) Only by passing a CSSearchableItem to CSSearchableIndex.

  1. Does it make sense to index the same user activity multiple times?

a) No, the item will only appear once in the Spotlight index.
b) Yes, the more often an activity is performed in the app, the higher it will rank in the Spotlight search results.
c) No, Spotlight will punish apps that add duplicate items.

  1. What are Smart App Banners?

a) You can add Smart App Banners to web pages to point visitors to your app.
b) Metadata objects that you add to your app for better indexing.
c) Special items that appear in the Spotlight search results.

  1. What are Universal Links?

a) Shareable web links that open your app if it's installed.
b) Links with a custom URL scheme that point to an app.
c) Links with a custom URL scheme that point to a website.

  1. What happens when your app is expected to open a Universal Link?

a) AppDelegate is asked to continue a user activity.
b) AppDelegate is asked to open the URL.
c) The link your app should open is passed to the launch arguments dictionary.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.80.45