How to create a dialog like CameraCaptureUI.CaptureFileAsync?
问题 I would like to create a library behaving like the CaptureFileAsync method, i.e. on a method call it would open up a full screen page with standard back navigation and return result to the caller. I want to be able to call it the same way CaptureFileAsync is called: var dialog = new Library.Dialog(); var result = await dialog.Show(); In the Show method I'm currently navigating to my own page and returning a Task which can be awaited by the caller: public Task<string> Show() { var task = new