Native camera and AVCapture image difference

We are trying to build a simple image capture app using AVFoundation and AVCaptureDevice.

Custom settings are used for exposure point and bias.

But when image is captured using front camera , the image captured from the app and front native camera does not match.

The image captured from the app includes more area than the native app. Also there is difference between the tilt angle between two images.

So is there any way to capture image exactly same as native camera using AVFoundation and AVCaptureDevice.

Native

Custom

Native camera and AVCapture image difference
 
 
Q