2
FileOpenPicker. PickSingleFileAsync();

在 Xbox One 上,上面的行打开了一个文件选择屏幕,但是屏幕上的取消按钮立即被取消选择并且页面被卡住,您无法返回。必须按主页按钮,然后等待者继续。

你所要做的就是调用 PickSingleFileAsync() 让它在 xbox 上工作吗?在 Xbox 上没有专门用于此用途的文档。

4

1 回答 1

1

however the cancel button on the screen is immediately deselected and the pages is stuck

I tested under the no file in the storage situation. Actually the cancel button can be selected, but not move the cursor directly to the cancel button by left or right stick. You need to press the "View button" o the game pad to focus on the file picker UI and then the cancel button will become focused, press "A button" will exit, the page will not stuck. The reason may be that file open picker has its own UI, details about open picker please reference Open files and folders with a picker.

For where is the "View button" please reference Xbox One Wireless Controller . The third button is "View button".

More details about unsupported features on XBOX please reference UWP features that aren't yet supported on Xbox.

于 2017-03-22T09:18:39.213 回答