There is a property of instances of UIScreen , brightness , this is most likely what you want. Check out the UIScreen brightness property documentation here .
Try:
[[UIScreen mainScreen] setBrightness: 0.3];
NOTE. . When I sent the messages, DarkXphenomenon posted a link to the SO question , whose questionnaire gave the same solution. DarkXphenomenon pulls up quickly.
source share