I need to calculate LUX by reading ambient light sensor .
how to read ambient light sensor in swift2 ?
There is no Public API that allows that access.
Swift 2 ??? You'd be better off moving to more recent version.
Have a look at this other thread, a few posts behind in this forum.
h ttps://forums.developer.apple.com/thread/99489
Did u find any way to get the LUX value