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

SBAppSwitcherController: Difference between revisions

From iPhone Development Wiki
(SBAppSwitcherController (iOS 8))
 
mNo edit summary
 
Line 2: Line 2:


== Activating the app switcher ==
== Activating the app switcher ==
<source lang=objc>
<source lang=objc>
[[%c(SBUIController) sharedInstance] _activateAppSwitcher];
[[%c(SBUIController) sharedInstance] _activateAppSwitcher];
Line 7: Line 8:


== Toggling the app switcher ==
== Toggling the app switcher ==
<source lang=objc>
<source lang=objc>
[[%c(SBUIController) sharedInstance] _toggleSwitcher];
[[%c(SBUIController) sharedInstance] _toggleSwitcher];
</source>
</source>


== Determining if switcher is visible/showing ==  
== Determining if switcher is visible/showing ==
 
<source lang=objc>
<source lang=objc>
[[%c(SBUIController) sharedInstance] isAppSwitcherShowing]
[[%c(SBUIController) sharedInstance] isAppSwitcherShowing]
</source>
</source>
== References ==


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

Latest revision as of 14:04, 11 August 2015

Notes about the app switcher on iOS 8. It was SBAppSliderController in iOS 7.

Activating the app switcher

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

Toggling the app switcher

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

Determining if switcher is visible/showing

[[%c(SBUIController) sharedInstance] isAppSwitcherShowing]

References