"AVCam demonstrates how to use the AV Foundation capture APIs for recording movies and taking still images. There is a record button for recording movies, a camera button for switching between front and back cameras (on supported devices), and a still button for taking still images. It runs only on an actual device, either an iPad or iPhone, and cannot be run in the simulator." https://developer.apple.com/library/ios/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112
Build a Simple Camera App Using UIImagePickerController: http://www.appcoda.com/ios-programming-camera-iphone-app/ iOS how to detect if power cable is plugged: http://stackoverflow.com/questions/11345645/ios-how-to-detect-if-power-cable-is-plugged How To Secretly Take Photos On iPhone With Screen Turned Off: http://www.redmondpie.com/how-to-secretly-take-photos-on-iphone-with-screen-turned-off/ Camera Preview On A View Controller:http://www.ios-developer.net/iphone-ipad-programmer/development/camera/camera-preview-on-a-view-controller AVCam for iOS: https://developer.apple.com/library/ios/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112 iOS Still Image Capture Using AVCaptureSession: http://www.musicalgeometry.com/?p=1297 How to know when the device is charging? [closed]: http://stackoverflow.com/questions/13186203/how-to-know-when-the-device-is-charging