Camera differences between UIImagePickerController and AVCaptureSession on iPhone
问题 I'm trying to build a replacement for UIImagePickerController , using AVCaptureSession with AVCaptureDeviceInput and AVCaptureStillImageOutput , as input/output respectively. To preview the camera stream I'm using AVCaptureVideoPreviewLayer . It's now working correctly for capturing and storing photos just like the default camera. However, I found 3 problems I was unable to solve: photos captured don't get the same quality the default camera provides the viewing/capture angle is shortened,