本文介绍了[UWP] CameraCaptureUI不允许用户接受Surface Pro 4上拍摄的照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有很多客户抱怨在我们的Windows 10应用程序中使用相机使用surface pro 4保存附件。我们做了一些调查
并发现问题仅在Surface Pro 4设备上,我们已经显示此问题的其他许多设备都没有。 


基于传递给Microsofts API的这些设置,相机应用程序在表面上pro 4不允许用户接受前置摄像头和后置摄像头拍摄的任何照片。

Based on these settings passed to Microsofts API, the camera application is on a surface pro 4 doesn't allow the user to accept any picture taken for front-facing camera and back-facing camera.


var cameraCapture = new CameraCaptureUI();
cameraCapture.PhotoSettings.MaxResolution = CameraCaptureUIMaxPhotoResolution.MediumXga;
cameraCapture.PhotoSettings.AllowCropping = false;
cameraCapture.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg;
var storageFile = await cameraCapture.CaptureFileAsync(CameraCaptureUIMode.PhotoOrVideo);

推荐答案

感谢您报告此事。我在SP4测试机上重现了这个问题。我试图从我的内部渠道报告此事。

Thank your for reporting this. I've reproduced this issue on our SP4 test machine. I've tried to report this from my internal channel.

致以最好的问候,

Barry


这篇关于[UWP] CameraCaptureUI不允许用户接受Surface Pro 4上拍摄的照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 13:05