(id -> NSString *) |
(Function template.) |
||
Line 8: | Line 8: | ||
There are a few methods used generally for a double height status bar. | There are a few methods used generally for a double height status bar. | ||
-(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id; | {{Function signature|signature=-(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id;|firmware=Unknown}} | ||
-(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id priority:(int)priority; | {{Function signature|signature=-(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id priority:(int)priority;|firmware=Unknown}} | ||
These methods activate and deactivate the double height status bar. The parameters are as follows: | These methods activate and deactivate the double height status bar. The parameters are as follows: | ||
* '''mode''': Generally, color of the status bar. Options are listed below: | * '''mode''': Generally, color of the status bar. Options are listed below: | ||
Line 22: | Line 21: | ||
* '''priority''': Not sure, but assumed to be the priority for this bundle ID and the double height status bar. | * '''priority''': Not sure, but assumed to be the priority for this bundle ID and the double height status bar. | ||
{{Function signature|signature=-(void)clearDoubleHeightStatusBarForBundleID:(NSString *)bundleID;|firmware=Unknown}} | |||
-(void)clearDoubleHeightStatusBarForBundleID:(NSString *)bundleID; | {{Function signature|signature=-(int)doubleHeightMode;|firmware=Unknown}} | ||
-(int)doubleHeightMode; | |||
Sets or clears the double height status bar mode. | Sets or clears the double height status bar mode. | ||
{{Function signature|signature=-(void)setDoubleHeightPrefixText:(id)text bundleID:(NSString *)id;|firmware=Unknown}} | |||
-(void)setDoubleHeightPrefixText:(id)text bundleID:(NSString *)id; | {{Function signature|signature=-(id)doubleHeightPrefixText;|firmware=Unknown}} | ||
-(id)doubleHeightPrefixText; | {{Function signature|signature=-(void)setDoubleHeightStatusText:(id)text bundleID:(NSString *)id;|firmware=Unknown}} | ||
-(void)setDoubleHeightStatusText:(id)text bundleID:(NSString *)id; | {{Function signature|signature=-(id)doubleHeightStatusText;|firmware=Unknown}} | ||
-(id)doubleHeightStatusText; | |||
These methods set and retrieve the status bar text. For different modes, different portions of the text is used, see above for details. Parameters: | These methods set and retrieve the status bar text. For different modes, different portions of the text is used, see above for details. Parameters: | ||
* '''text''': The text that you wish to set. | * '''text''': The text that you wish to set. |
Revision as of 04:30, 24 January 2010
SBStatusBarController is a singleton class that manages the status bar. You can access the singleton instance with the nonstandard method as follows:
+(id)sharedStatusBarController
Double Height Status Bar
There are a few methods used generally for a double height status bar.
Signature | -(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id; |
---|---|
Available in | Unknown |
Signature | -(void)setDoubleHeightMode:(int)mode glowAnimationEnabled:(BOOL)enabled bundleID:(NSString *)id priority:(int)priority; |
---|---|
Available in | Unknown |
These methods activate and deactivate the double height status bar. The parameters are as follows:
- mode: Generally, color of the status bar. Options are listed below:
- 1: Green, fixed text: "Touch to return to call".
- 2: Red. Text is in the form "PREFIX STATUS".
- 3: Red. Appears to be the same as 2.
- 4: Blue, used in tethering. Form is "STATUS".
- enabled: Controls the glowing of the status bar.
- id: Bundle ID to set the mode for. Can be nil, but not suggested.
- priority: Not sure, but assumed to be the priority for this bundle ID and the double height status bar.
Signature | -(void)clearDoubleHeightStatusBarForBundleID:(NSString *)bundleID; |
---|---|
Available in | Unknown |
Signature | -(int)doubleHeightMode; |
---|---|
Available in | Unknown |
Sets or clears the double height status bar mode.
Signature | -(void)setDoubleHeightPrefixText:(id)text bundleID:(NSString *)id; |
---|---|
Available in | Unknown |
Signature | -(id)doubleHeightPrefixText; |
---|---|
Available in | Unknown |
Signature | -(void)setDoubleHeightStatusText:(id)text bundleID:(NSString *)id; |
---|---|
Available in | Unknown |
Signature | -(id)doubleHeightStatusText; |
---|---|
Available in | Unknown |
These methods set and retrieve the status bar text. For different modes, different portions of the text is used, see above for details. Parameters:
- text: The text that you wish to set.
- id: The bundle ID you wish to set the text for,
References
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBStatusBarController.h