Apple's fourth-generation iPhone may integrate a camera flash module for capturing pictures in low-light conditions. Developers reportedly noticed a variety of new camera functions contained in the framework of the iPhone 4.0 beta released earlier on Thursday, according to AppleInsider. The code includes functions labeled AVCaptureDevice.hasFlash, AVCaptureDevice.flashMode, and AVCaptureDevice.hasTorch.