Possible Duplicate:
Change Backlight Brightness on iPhone Programmatically
How can i adjust brightness in my application in xcode 4 with a UISlider? I can't find any modern code on how to access it.
Possible Duplicate:
Change Backlight Brightness on iPhone Programmatically
How can i adjust brightness in my application in xcode 4 with a UISlider? I can't find any modern code on how to access it.
There is no public API to reduce overall screen's brightness as found under Brightness setting. However if your intent is to just reduce the brightness of you app, you can change the opacity of the view.