CameraEngine
CameraEngine copied to clipboard
Taking photo with front camera
The app crashes when I try to take a photo with front camera. This was working fine before updating to Swift 3 syntax.
Here is some debug code I got:
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] flashMode must be set to a value present in the supportedFlashModes array'
I got the same crash. Anyone with a fix?