In attempting to complete the challenge, I have this problem: turning on proximity monitoring automatically causes the screen to darken when the proximity sensor is activated. That is, just this line of code alone …,
causes the screen to darken when you put a finger over the sensor. Having completed the challenge, I can still see the background color of the view being set to dark grey for a split second before the screen is darkened. However, I haven’t found a way to stop the automatic screen darkening. Anyone else have any luck?