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 14:12, 11 August 2015 by Uroboro (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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