In iBook, users can adjust the screen brightness through the slider, right?
What should I do to achieve this? Which class or function should I use to control the screen brightness?
Thank you
Starting from iOS5, you can use the following methods to adjust the display brightness :
[UIScreen mainScreen].brightness = 0.5;
In iBook, users can slide Block to adjust the screen brightness, right?
What should I do to achieve this? Which class or function should I use to control the screen brightness?
Thank you
Starting from iOS5, you can use the following methods to adjust the display brightness:
< /p>
[UIScreen mainScreen].brightness = 0.5;