Twodayslate (talk | contribs) (Created page with "Many files in SBSearch*, SPUISearch* How to open: <pre> [[%c(SpringBoard) sharedApplication] _revealSpotlight]; </pre> If you are interested in creating your own search resu...") |
Twodayslate (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
[[%c(SpringBoard) sharedApplication] _revealSpotlight]; | [[%c(SpringBoard) sharedApplication] _revealSpotlight]; | ||
</pre> | </pre> | ||
This will open Spotlight from anywhere. If you are inside an application, it will close that application and go to the homepage in order to open Spotlight. | |||
How to dismiss: | |||
<pre> | |||
[[%c(SBSearchGesture) sharedInstance] resetAnimated:YES]; | |||
</pre> | |||
If you are interested in creating your own search results check out [[SearchLoader]]. | If you are interested in creating your own search results check out [[SearchLoader]]. |
Revision as of 19:37, 20 October 2015
Many files in SBSearch*, SPUISearch*
How to open:
[[%c(SpringBoard) sharedApplication] _revealSpotlight];
This will open Spotlight from anywhere. If you are inside an application, it will close that application and go to the homepage in order to open Spotlight.
How to dismiss:
[[%c(SBSearchGesture) sharedInstance] resetAnimated:YES];
If you are interested in creating your own search results check out SearchLoader.