I am developing an iPhone application and I need to adjust the brightness of the screen through my application, in the same way as we do through the Settings app.
I have searched but have not found a solution.
I am developing an iPhone application and I need to adjust the brightness of the screen through my application, in the same way as we do through the Settings app.
I have searched but have not found a solution.
Check out the
brightnessproperty ofUIScreen. This is a new API in iOS 5. You can't do it in older versions.