I just quickly took a picture indoor at night in dim light with my iPhone 7. The result was amazing, on level with my Sony A6000 mirrorless camera with the superfast 35mm f/1.8 lens! When I checked the EXIF I could see why: the iPhone used a shutter speed of 1/5 s, and on my Sony I would never go below 1/30 or 1/60 s. That should compensate for the difference in sensor size. Of course 1/5 s would never work with any movement in the subject. But my impression based on just a few pictures is that the iPhone seems to sense if there is movement in the pictures, and only goes to those crazy low shutter speeds if it detects no motion. Is this impression correct?