Skip to content

WinUi 3 desktop app doesn't open camera. and is there any way that can open default system camera and capture image #1034

@sangitamalviya

Description

@sangitamalviya

CameraCaptureUI captureUI = new CameraCaptureUI();

        StorageFile photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);

        if (photo != null)
        {
            CameraCapture.Source = new BitmapImage(new Uri(photo.Path));
        }

CameraCaptureUI it doesn't open camera. even CaptureElement does not find on UI
Capture (2)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions