Where is Ambient light sensor API?

Hi, all.


I'm developing iOS app using by device sensors like gyro, accelerometer, magnetometer, etc..

Among of those, I can't find any public API in related with an ambient light sensor.


Please give me any feedback for me.

I appreciate in adavance.

Answered by KMT in 13150022

Still no public API that I can find - see this SO thread for reported options: objective c - Is there a light sensor on the iPhone, and if so ...

Accepted Answer

Still no public API that I can find - see this SO thread for reported options: objective c - Is there a light sensor on the iPhone, and if so ...

Thanks a lot.

I can't find any public API in related with an ambient light sensor.

For more background on this, see this thread.

Share and Enjoy

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

let myEmail = "eskimo" + "1" + "@apple.com"
Where is Ambient light sensor API?
 
 
Q