As we know that iPhone's screen can adjust itself automatically as the brightness changes around, so it should get the brightness of the outside first, right? That's what I thought. So now I just want to get the brightness of the outside environment throught its opt0-sensor, but I don't know how?
Can anybody be kind to help me? Thanks a lot!