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

SBDisplayStack: Difference between revisions

From iPhone Development Wiki
m (→‎References: Dead link.)
 
Line 22: Line 22:


== References ==
== References ==
<references/>
* Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBDisplayStack.h
* Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBDisplayStack.h


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

Latest revision as of 14:12, 11 August 2015

SBDisplayStack was a private class in SpringBoard that arranged SBDisplays until iOS 6. There were 4 display stacks, all being private and inaccessible directly, due to stripping. In iOS 6, the class was removed and replaced with SBWorkspaces for managing displays. As of 3.1, these 4 stacks were:

VM address (3.1, armv6) Stack name
*0x107540 __SBWPreactivateDisplayStack
*0x107544 __SBWActiveDisplayStack
*0x10753C __SBWSuspendingDisplayStack
*0x107548 __SBWSuspendedEventOnlyDisplayStack

If you want to use these stacks without hardcoding the pointer, you may hook -[SBDisplayStack init] and store a reference of the return values.

References