How would I program the ability to change brightness in-app? I know that its possible as I have seen at least three apps that can do it. This would be very useful for my app
I have never tried it, but looking at the docs it should go like this:
UIScreen *mainScreen = [UIScreen mainScreen]; mainScreen.brightness = .5; //should set the brightness at 50%