(Created page with 'SBDisplay is an abstract class in {{applink|SpringBoard}} that represents a full-screen view. It is the superclass of SBApplication and SBAlert. == Display state ==…') |
(→Display, activation and deactivation settings: display settings.) |
||
Line 132: | Line 132: | ||
|} | |} | ||
=== Display settings === | |||
{| class="wikitable" | |||
|- | |||
! colspan="2" | Bitmask | |||
! Description !! Value type | |||
|- | |||
! 1 || 1 << 0 | |||
| finishedLaunchingFrontmost || boolean | |||
|- | |||
! 2 || 1 << 1 | |||
| resume || boolean | |||
|- | |||
! 4 || 1 << 2 | |||
| animate || boolean | |||
|- | |||
! 8 || 1 << 3 | |||
| animateNoPNG || boolean | |||
|- | |||
! 16 || 1 << 4 | |||
| statusBarMode || integer (UIStatusBarStyle) | |||
|- | |||
! 32 || 1 << 5 | |||
| statusBarOrientation || integer | |||
|- | |||
! 64 || 1 << 6 | |||
| arguments || array | |||
|- | |||
! 128 || 1 << 7 | |||
| environment || dictionary | |||
|- | |||
! 256 || 1 << 8 | |||
| standardOut || | |||
|- | |||
! 512 || 1 << 9 | |||
| standardError || | |||
|- | |||
! 1024 || 1 << 10 | |||
| waitForDebugger || boolean | |||
|- | |||
|} | |||
== References == | == References == |
Revision as of 11:02, 12 December 2009
SBDisplay is an abstract class in SpringBoard that represents a full-screen view. It is the superclass of SBApplication and SBAlert.
Display state
SBDisplay stores the display state cache in ~/Library/Caches/com.apple.springboard.displaystate.plist. This plist contains key-value pairs, with keys being the display IDs and the values being a dictionary of settings. The dictionary allows these:
key | type | value |
---|---|---|
SBApplicationBadgeKey | integer | The icon badge value. |
SBDefaultPNGNameKey | string | Name of the default PNG file (splash screen) of the application. |
SBDefaultStatusBarModeKey | integer | Default status bar mode, as an UIStatusBarStyle. |
SBDefaultStatusBarOrientationKey | integer | Default status bar orientation, as an UIInterfaceOrientation. |
SBDefaultPNGPreventSplitKey | ? | ? |
SBAutoLockTimeKey | real | |
SBAutoDimTimeKey | real |
These values can be retrieved using +defaultValueForKey:displayIdentifier:urlScheme:.
Display, activation and deactivation settings
These values are valid for 3.0 and above only.
Activation settings
Bitmask | Description | Value type | |
---|---|---|---|
1 | 1 << 0 | asPanel | |
2 | 1 << 1 | suspended | boolean |
4 | 1 << 2 | URL | string (URL scheme) |
8 | 1 << 3 | remoteNotification | boolean |
16 | 1 << 4 | eventOnly | boolean |
32 | 1 << 5 | safe | boolean |
64 | 1 << 6 | animateOthersSuspension | boolean |
128 | 1 << 7 | slideOthersSuspension | boolean |
256 | 1 << 8 | contextInfoForOthersSuspension | string (URL query) |
512 | 1 << 9 | flipOthersSuspension | |
1024 | 1 << 10 | animateScaleForOthersSuspension | real |
2048 | 1 << 11 | animationStartForOthersSuspension | real |
4096 | 1 << 12 | animationStart | real |
8192 | 1 << 13 | flip | boolean |
16384 | 1 << 14 | animationDuration | real |
32768 | 1 << 15 | animationDurationForOthersSuspension | real |
65536 | 1 << 16 | firstLaunchAfterBoot | boolean |
131072 | 1 << 17 | appToTop | boolean |
262144 | 1 << 18 | activateFromLocked | boolean |
524288 | 1 << 19 | originatingURLDisplayIdentifier | string (URL) |
Display settings
Bitmask | Description | Value type | |
---|---|---|---|
1 | 1 << 0 | finishedLaunchingFrontmost | boolean |
2 | 1 << 1 | resume | boolean |
4 | 1 << 2 | animate | boolean |
8 | 1 << 3 | animateNoPNG | boolean |
16 | 1 << 4 | statusBarMode | integer (UIStatusBarStyle) |
32 | 1 << 5 | statusBarOrientation | integer |
64 | 1 << 6 | arguments | array |
128 | 1 << 7 | environment | dictionary |
256 | 1 << 8 | standardOut | |
512 | 1 << 9 | standardError | |
1024 | 1 << 10 | waitForDebugger | boolean |
References
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBDisplay.h
- DevelopmentNotes by ashikase (developer of Backgrounder): http://code.google.com/p/iphone-tweaks/wiki/DevelopmentNotes