获取系统屏幕当前的亮度值float value = [UIScreen mainScreen].brightness;设置系统屏幕的亮度值[[UIScreen mainScreen] setBrightness:value];