Using the Ambient Light Sensor for other purposes

We are looking to use the Ambient Light Sensor on iOS. It seems that there is a public API in the IOKit framework, however it has a disclaimer at the top that says "Although it is a public framework, Apple discourages developers from using it, and any apps using it will be rejected from App Store."


Looking at other forum posts, most people want to use the Light Sensor in order to adjust the brightness. Adjusting brightness will definitely get your App rejected by the App Store. What we are wondering is, will Apple reject any App that uses the light sensor, or only those Apps that use the light sensor to adjust the brightness?

Apple says to not use the framework directly on iOS. Most likely Apple will reject the app regardless of the justification.

This question seems to be an exact duplicate of another question, and you can find my responde over there.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

ok, so any idea of a workaround?

Using the Ambient Light Sensor for other purposes
 
 
Q