From iPhone Development Wiki
Revision as of 14:07, 11 August 2015 by Uroboro (talk | contribs) (References: IPFHeader replacement)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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;