Vatsal Manot (talk | contribs) (Created page with "'''SBBrightnessController''' is a singleton class that is used to manipulate the brightness level of the screen. You can access the singleton instance with the nonstandard met...") |
Vatsal Manot (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
-(void)_setBrightnessLevel:(float)level showHUD:(BOOL)hud; | -(void)_setBrightnessLevel:(float)level showHUD:(BOOL)hud; | ||
</source> | </source> | ||
== References == | |||
{{IPFHeader|SpringBoard|.app}} |
Revision as of 19:16, 18 October 2013
SBBrightnessController is a singleton class that is used to manipulate the brightness level of the screen. You can access the singleton instance with the nonstandard method as follows:
+ (id)sharedBrightnessController
Brightness Level Manipulation
The following method can be used to manipulate the brightness level, where allowed values are in the range from 0.0 to 1.0. An optional HUD can also be displayed.
-(void)_setBrightnessLevel:(float)level showHUD:(BOOL)hud;
References
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBBrightnessController.h