How to subview a camera view?
I am making an app that will let the user see themselves in a 'mirror' (the front facing camera on the device). I know of multiple ways of making a UIImageViewController with a view overlay, but I want my app to have it be the opposite way. In my app, I want the camera view to be a subview of the main view, without the shutter animation or the ability to capture photos or take videos and without it being full screen. Any ideas? The best way to accomplish this is to not use the built-in UIImagePickerController, but rather use the AVFoundation classes. You want to create an AVCaptureSession and