Difference between revisions of "SBAppSliderController"

From iPhone Development Wiki
Jump to: navigation, search
(no more bold since that's not the article title anymore)
(Activating the app switcher)
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];