ios7 - Showing "Low light" as message when there is low light while using iphone camera -


i have requirement need show message "low light" when there low light around iphone front camera. searching public api didn't find anything. did check ambient light sensor nothing helped.

can tell me there way identify low light state while using iphone front camera?

thanks

you need use avfoundation, , can monitor brightness value that's in video stream's metadata, explained in my answer stackoverflow question. if you're not viewing video feed, may want ramp down 6 fps, give lower floor low light (and more control).


Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -