2

My app shows a full-screen UIView, which is black, opaque, alpha=1. This should result in a black screen, right? Well, it does, but only sort of. It looks black in normal light, but when I go into a dark room, I can see that the screen glows a little. When I lock the phone, then the screen goes completely dark.

I'd like the screen to be completely dark with my app running in the foreground.

I realize it might not be possible to turn off the screen backlight from within an app, but is there anything I can do to achieve what I want?

TotoroTotoro
  • 17,524
  • 4
  • 45
  • 76

1 Answers1

3

The brightness property on UIScreen allows you to control the iOS device's backlight intensity.

Joachim Isaksson
  • 176,943
  • 25
  • 281
  • 294