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 - iPhone Development Wiki

SBDisplayStack

From iPhone Development Wiki
Revision as of 11:31, 12 March 2015 by PoomSmart (talk | contribs) (→‎References: Dead link.)

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