mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Merge pull request #1538 from almost/patch-2
The correct capture preset for photos is AVCaptureSessionPresetPhoto
This commit is contained in:
commit
560c80124b
@ -776,8 +776,8 @@ static NSDictionary *defaultFaceDetectorOptions = nil;
|
||||
[_faceDetectorManager maybeStartFaceDetectionOnSession:_session withPreviewLayer:_previewLayer];
|
||||
#endif
|
||||
|
||||
if (self.session.sessionPreset != AVCaptureSessionPresetHigh) {
|
||||
[self updateSessionPreset:AVCaptureSessionPresetHigh];
|
||||
if (self.session.sessionPreset != AVCaptureSessionPresetPhoto) {
|
||||
[self updateSessionPreset:AVCaptureSessionPresetPhoto];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user