Hi i'm working on develop iOS custom camera app.
Recently, I discovered that my camera app works differently on iOS 15 and iOS 16.
On iOS 15, the video was recorded without any cropped images. On iOS 16 however, it was recorded with some cropped images as if EIS(Electronic image stabilization ) was working.
My app uses iPhone 11's ultra-wide-angle camera. I tried the code below.
————————————————————————————————————————— //use iPhone11's UltraWideAngle Camera
if connection.isVideoStabilizationSupported {
connection.preferredVideoStabilizationMode = .off
}
—————————————————————————————————————————
-> The image crop phenomenon in iOS16 could not be removed.
I'll attach my debug record below, so could you leave a reply if anyone knows the solution to this phenomenon?
--Crop Phenomenon NOT Occur--
Device : A2221
UsingCamera : Ultra Wide Angle
iOS Version : 15.4(19E241)
GDC : ON
<AVCaptureDeviceFormat: 0x281440c10 'vide'/'420v' 1920x1080, { 1- 30 fps}, HRSI:4224x2376, fov:107.803, gdc fov:105.448, supports vis, max zoom:123.75 (upscales @2.00), ISO:21.0-2016.0, SS:0.000042-1.000000, supports HDR, supports multicam, supports high photo quality>
--Crop Phenomenon Occur--
Device : A2221
UsingCamera : Ultra Wide Angle
iOS Version : 16.0.2(20A380)
GDC : ON
<AVCaptureDeviceFormat: 0x281514440 'vide'/'420v' 1920x1080, { 1- 30 fps}, photo dims:{1920x1080,4224x2376}, fov:107.803, gdc fov:105.448, supports vis (max strength:Low), max zoom:123.75 (upscales @2.00), ISO:21.0-2016.0, SS:0.000042-1.000000, supports HDR, supports multicam, supports high photo quality>