~/talk

Needle in a Haystack: iOS Search

Talkat 360|iDev 2016 · 2016-09-14..09-17· [ios]
links:none on file
slides:none on file

Concrete how-to and results: iOS 9 search uses Core Spotlight indexing, NSUserActivity usage records and universal URL linking; code creates an attribute set (title, thumbnailData, contentDescription), gives a stable identifier (use the universal URL), indexes a searchable item and/or attaches the attribute set to a user activity, calls becomeCurrent, and navigates straight to the detail on continueUserActivity. mark public results with eligibleForPublicIndexing to surface installs systemwide, avoid spamming, set sensible expirations, and test by deleting the app.

AI-written summary · about

  1. 0:00iOS search technologies
  2. 4:23Index-based search
  3. 8:55Metadata for search
  4. 14:10Usage-based search
  5. 19:24Improve rankings with becomeCurrent
  6. 23:39Avoid duplicate results
  7. 26:10Universal Links for deep linking
  8. 34:20Public indexing for discovery
  9. 37:51Search optimization best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.