You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
When using Torch flash mode in a camera view, I'm unable to snap pictures without crashing.
Steps to Reproduce
Create a CameraView with CaptureMode="Photo", CameraOptions="Back", FlashMode="{Binding CameraFlashMode}"
Toggle a button to switch from FlashMode="Off" to FlashMode="Torch"
Snap a picture
Expected Behaviour
I expect to snap a photo having the flash always on (aka Torch mode)
Actual Behavior
The flash mode changes correctly, but when I try to take a photo I get the following exception:
Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] flashMode must be set to a value present in the supportedFlashModes array