Things tried and tested on iPhone 12 present full screen/present as a modal
wrap the picker inside a VC/present UIImagePickerController as is
cameraViewTransform: scale then translate/ translate then scale/apply directly/ create a CGAFFineTransform and then apply
with overlay/without overlay
None of these combinations worked. Not even just presenting an UIImagePickerController with no transform and no overlay applied, even then there is always a black bar of about 122 points and cameraViewTransform translation does nothing.
Post
Replies
Boosts
Views
Activity
Same here.
I have tried to mitigate this using cameraViewTransform and while scaling to adjust to screen works, translating does not. Have tried several ways to create the transform and I can see the transform matrix being applied using a breakpoint.
However, the scaling has effect while the translating (for centring purposes o for mitigating this issue) seem to have no effect.
It only happens in iphone 12; iphone 11 (on both ios 13 and 14 do not exhibit this problem). It seems to me there is a bug in UIImagePickerController implementation.