Is there a way of adjusting the screen brightness programmatically?

Edit: iOS 5 now includes a screen brightness API.

[[UIScreen mainScreen] setBrightness:0.5];

Previous answer:

No, this capability is not exposed via public APIS.

Edit: Note that a future possible iOS release may or may not have screen brightness on the multitasking bar on one particular iDevice.

Leave a Comment