iPhone – Change the brightness of the screen, just like IBOOK

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;

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1095 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.