Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
SearchBundles: Difference between revisions - iPhone Development Wiki

SearchBundles: Difference between revisions

From iPhone Development Wiki
(domains)
Line 8: Line 8:
! #
! #
! Name
! Name
! iOS Version
|-
|-
| 0
| 0
| Top Hits
| Top Hits
| iOS 7+?
|-
|-
| 1
| 1
| Search X  
| Search X  
| iOS 7+?
|-
|-
| 2
| 2
| Address Book
| Address Book
| iOS 7+?
|-
|-
| 3
| 3
| Mail
| Mail
| iOS 7+?
|-
|-
| 5
| 5
| Notes
| Notes
| iOS 7+?
|-
|-
| 6,7,8,9
| 6,7,8,9
| iPod
| iPod
| iOS 7+?
|-
|-
| 10
| 10
| Calendar
| Calendar
| iOS 7+?
|-
|-
| 12
| 12
| Voice memos
| Voice memos
| iOS 7+?
|-
|-
| 13
| 13
| Reminders
| Reminders
| iOS 7+?
|-
|-
| 15
| 15
| Extended
| Extended
| iOS 7+?
|-
|-
| 16
| 16
| News
| News
| iOS 9
|-
|-
| 22
| 22
| Siri Suggestions
| Siri Suggestions
| iOS 9
|-
|-
|}
|}

Revision as of 00:36, 24 October 2015

Search bundles are bundles to provide search results for Spotlight. There is a hardcoded limit of 11 (for iOS 8 and below, unknown for iOS 9) search bundles (domains), all of which are occupied by built-in ones.

SearchLoader is a developer library for adding more search bundles.

Domains

# Name iOS Version
0 Top Hits iOS 7+?
1 Search X iOS 7+?
2 Address Book iOS 7+?
3 Mail iOS 7+?
5 Notes iOS 7+?
6,7,8,9 iPod iOS 7+?
10 Calendar iOS 7+?
12 Voice memos iOS 7+?
13 Reminders iOS 7+?
15 Extended iOS 7+?
16 News iOS 9
22 Siri Suggestions iOS 9

Structure of a Search Bundle

Search bundles should have an extension of .searchBundle. The principle class should conform to the SPSearchDatastore protocol.