How can I change the brightness of the screen programmatically using iPhone SDK?
[[UIScreen mainScreen] setBrightness: yourvalue];
Requires iOS 5.0 or later. yourvalue is a float between 0.0 and 1.0.
2.1m questions
2.1m answers
60 comments
57.0k users