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
SBAppSliderController: Difference between revisions - iPhone Development Wiki

SBAppSliderController: Difference between revisions

From iPhone Development Wiki
(no more bold since that's not the article title anymore)
Line 12: Line 12:
<source lang=objc>
<source lang=objc>
[[SBUIController sharedInstance] _activateAppSwitcherFromSide:2];
[[SBUIController sharedInstance] _activateAppSwitcherFromSide:2];
</source>
== Toggling the app switcher ==
<source lang=objc>
[[SBUIController sharedInstance] _toggleSwitcher];
</source>
</source>


{{occlass|library=SpringBoard.app|navbox=1}}
{{occlass|library=SpringBoard.app|navbox=1}}

Revision as of 23:25, 18 March 2014

Notes about the app switcher (called the "app slider" on iOS 7), also known as the "task switcher" or "multitasking switcher".

Activating the app switcher

  • Pre iOS 7:
[[SBUIController sharedInstance] activateSwitcher];
  • Post iOS 7:
[[SBUIController sharedInstance] _activateAppSwitcherFromSide:2];

Toggling the app switcher

[[SBUIController sharedInstance] _toggleSwitcher];