Compare commits
1 Commits
58714f9dac
...
ivan/ensur
Author | SHA1 | Date | |
---|---|---|---|
3319e48f7d |
@@ -200,6 +200,10 @@ extension CameraSession {
|
||||
return
|
||||
}
|
||||
|
||||
guard captureDevice.isExposureModeSupported(.custom) else {
|
||||
ReactLogger.log(level: .info, message: "Custom exposure mode not supported")
|
||||
return
|
||||
}
|
||||
do {
|
||||
// Lock the device for configuration
|
||||
try captureDevice.lockForConfiguration()
|
||||
|
Reference in New Issue
Block a user