Keep display on when the proximity sensor is covered
I want to intercept the proximity sensor without turning off the display. I know by the documentation that I have two Bool variables: proximityMonitoringEnabled proximityState and this code [UIDevice currentDevice].proximityMonitoringEnabled = YES; When the proximity sensor detects something it turns off the display, same way it does when you're holding the phone to your ear when on a phone call. How do I keep the display on when the proximity sensor is covered? After reading different forums on the topic, its currently not possible for us in the public api to prevent the iPhone screen from