Camera fixes

This commit is contained in:
Ilya Laktyushin
2023-10-19 20:44:16 +04:00
parent ec51634dcc
commit deaf722d85
10 changed files with 154 additions and 138 deletions

View File

@@ -703,6 +703,10 @@ const NSInteger PGCameraFrameRate = 30;
#pragma mark - Flash
- (AVCaptureFlashMode)currentDeviceFlashMode {
return [PGCameraCaptureSession _deviceFlashModeForCameraFlashMode:self.currentFlashMode];
}
- (PGCameraFlashMode)currentFlashMode
{
switch (self.currentMode)