通过URL方案或其他方式打开iOS 11文件应用 [英] Open iOS 11 Files app via URL Scheme or some other way
本文介绍了通过URL方案或其他方式打开iOS 11文件应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序现在正在iOS 11文件应用程序在我的iPhone上"共享Documents
目录.
My app is now sharing Documents
directory on iOS 11 Files app "On My iPhone" section.
(感谢本文:工作在iOS 11中使用文件"应用)
问题是如何通过URL方案打开此目录或至少打开File应用程序根页面. UIDocumentPickerViewController
或UIDocumentBrowserViewController
在这种情况下无济于事.
Question is how to open this directory or at least File app root page via URL Scheme. UIDocumentPickerViewController
or UIDocumentBrowserViewController
doesn't help in this situation.
推荐答案
可以使用URL方案shareddocuments://
打开文件"应用.
The Files app can be opened with the URL scheme shareddocuments://
.
但是我不知道是否可以打开特定目录.
I don’t know if there’s a way to open a specific directory however.
这篇关于通过URL方案或其他方式打开iOS 11文件应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文