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 - iPhone Development Wiki

SBAppSliderController

From iPhone Development Wiki
Revision as of 11:29, 12 March 2015 by PoomSmart (talk | contribs)

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
[[%c(SBUIController) sharedInstance] activateSwitcher];

// iOS 7
[[%c(SBUIController) sharedInstance] _activateAppSwitcherFromSide:2];

Toggling the app switcher

[[%c(SBUIController) sharedInstance] _toggleSwitcher];

Determining if switcher is visible/showing

[[%c(SBUIController) sharedInstance] isAppSwitcherShowing]