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
(ios 7 name)
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Notes about the '''app switcher''' (called the "app slider" on iOS 7), also known as the "task switcher" or "multitasking switcher".
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 ==
== Activating the app switcher ==


* Pre iOS 7:
<source lang=objc>
// Pre iOS 7
[[%c(SBUIController) sharedInstance] activateSwitcher];
 
// iOS 7
[[%c(SBUIController) sharedInstance] _activateAppSwitcherFromSide:2];
</source>
 
== Toggling the app switcher ==


<source lang=objc>
<source lang=objc>
[[SBUIController sharedInstance] activateSwitcher];
[[%c(SBUIController) sharedInstance] _toggleSwitcher];
</source>
</source>


* Post iOS 7:
== Determining if switcher is visible/showing ==
 
<source lang=objc>
<source lang=objc>
[[SBUIController sharedInstance] _activateAppSwitcherFromSide:2];
[[%c(SBUIController) sharedInstance] isAppSwitcherShowing]
</source>
</source>
== References ==
{{occlass|library=SpringBoard.app|navbox=1}}

Latest revision as of 14:03, 11 August 2015

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]

References