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
SBBrightnessController: Difference between revisions - iPhone Development Wiki

SBBrightnessController: Difference between revisions

From iPhone Development Wiki
(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...")
 
m (→‎References: IPFHeader replacement)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
-(void)_setBrightnessLevel:(float)level showHUD:(BOOL)hud;
-(void)_setBrightnessLevel:(float)level showHUD:(BOOL)hud;
</source>
</source>
== References ==
* Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/SpringBoard/SBBrightnessController.h
{{occlass|library=SpringBoard.app|navbox=1}}

Latest revision as of 14:07, 11 August 2015

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