Accessing the ambient light sensor in iOS -


i'm working on project in necessary access ambient light sensor.

i searched lot in google , stackoverflow, couldn't find useful information. possible so?

i tried calculate ambient light value calculating brightness out of camera input, results aren't precise, camera makes lot's of adjustments images, distort results.

to read ambient light sensor data, need use iohid in iokit framework (reference)

http://iphonedevwiki.net/index.php/appleisl29003

http://iphonedevwiki.net/index.php/iokit.framework


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -