iPhone brightness private API not working properly
问题 I am trying to set the brightness of the backlight, but it's acting very strangely. I am using the private API: [(id)[UIApplication sharedApplication] setBacklightLevel:1.0f]; However, when I call this, the screen dims, not becoming 100% bright like I thought it would. I have tested this with a variety of numbers, and here is what I got: 0.2: dark 0.3: light 0.4: dark 0.5: dark 0.6: light 0.7: dark 0.8: dark 0.9: dark 1.0: dark 1.1: dark 1.2: light 1.3: dark 1.4: dark 1.5: light Some of the