iPad native camera vs AVFoundation device

We are trying to build a video recording app using AVFoundation and AVCaptureDevice.

No custom settings are used like iso, exposure duration. All the settings are kept to auto.

But when video is captured using front camera and 1080x1920 dimensions, the video captured from the app and front native camera does not match.

In settings i have kept video setting as 30 fps 1080x1920.

The video captured from the app includes more area than the native app. Also some values like iso, exposure duration does not match.

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

I have attached screenshots from video for reference.

Native

AVCapture

iPad native camera vs AVFoundation device
 
 
Q