CamerAwesome
CamerAwesome copied to clipboard
[iOS] front camera mirror error
Steps to Reproduce
Camera mirror is wrong when I open front camera by default.But when I opened back camera firstly and then switched to front camera, everything is OK.
About your device
| Brand | Model | OS |
|---|---|---|
| Apple | iPhone X | 14.2 |
I've found the solution, you have to change this line
[_captureConnection setVideoMirrored:(_cameraSensor == Back)];
to
[_captureConnection setVideoMirrored:(sensor == Front)];
in file CameraPreview.m on line 91
@dim-apparence @ChokShen please fix the bug
Another bug with photo, change in file CameraPictureController.m on line 59
from UIImageOrientationRight to UIImageOrientationLeftMirrored
https://github.com/Apparence-io/camera_awesome/issues/62 I tried this way and success, tested on Android + iOS.