[英]iOS: Copy files from Office app to my app's documents
I'm not sure if this is a programming issue, but hopefully somebody can help me out anyway.我不确定这是否是编程问题,但希望有人可以帮助我。 On my iPhone (iOS 13.3) I'm trying to copy a file from OneDrive into my app's document folder using the Files app.
在我的 iPhone (iOS 13.3) 上,我尝试使用“文件”应用程序将 OneDrive 中的文件复制到我的应用程序的文档文件夹中。 I already set the keys
UIFileSharingEnabled
and LSSupportsOpeningDocumentsInPlace
in the info.plist file so my app appears eg in the iTunes FileSharing section.我已经在 info.plist 文件中设置了
UIFileSharingEnabled
和LSSupportsOpeningDocumentsInPlace
键,所以我的应用程序出现在例如 iTunes FileSharing 部分。 It also appears as a possible target when I share a picture from the "Photos" app or if the source in "Files" is a standard app.当我从“照片”应用程序共享图片或“文件”中的源是标准应用程序时,它也会显示为可能的目标。 But whenever the source is an MS Office app (OneDrive / Excel / Word / ...), the target app list is reduced to Office apps.
但只要源是 MS Office 应用程序(OneDrive / Excel / Word / ...),目标应用程序列表就会缩减为 Office 应用程序。 No other app - neither mine nor standard apps like "Pages" or "Numbers" - appears in the list.
列表中没有其他应用程序——既不是我的应用程序,也不是像“Pages”或“Numbers”这样的标准应用程序。
Does my app need a special setting to retrieve OneDrive files, or is this a more general Office issue?我的应用程序是否需要特殊设置来检索 OneDrive 文件,还是这是一个更普遍的 Office 问题?
Obviously this is caused by a restriction defined by my company's IT department.显然,这是由我公司的 IT 部门定义的限制引起的。 Sorry to bother you.
抱歉打扰你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.