Difference between revisions of "SBAppSwitcherController"

From iPhone Development Wiki
Jump to: navigation, search
(SBAppSwitcherController (iOS 8))
 
m
 
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