有一种方法可以从 OneDrive 应用程序中获取文件 url,例如 Dropbox api (DBChooser)?

There is a way to get file url from OneDrive app like Dropbox api (DBChooser)?

objective 是点击一个按钮,打开 OneDrive 应用程序,select 一个文件和 return 到我的应用程序 url 从 select编辑文件。

According to the OneDrive API web page, a file picker you can use is the UIDocumentPicker.

设置一个代表来响应 UIDocumentPickerDelegate/documentPicker:didPickDocumentAtURL:,您将拥有 URL。