简体   繁体   English

iOS:将文件从 Office 应用复制到我的应用文档

[英]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 文件中设置了UIFileSharingEnabledLSSupportsOpeningDocumentsInPlace键,所以我的应用程序出现在例如 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.

相关问题 是否有 API 可以从 iOS 应用程序的文档文件夹中复制文件? - Are there APIs to copy files from an iOS app's documents folder? 如何将文件从其他App复制到iOS中ma的Documents目录中? - How to copy the file from other App to ma App's documents directory in iOS? Dropbox Sync API iOS将文件复制到应用程序文档 - Dropbox Sync API iOS copy files to app documents 从iOS Office应用程序启动“ Office应用程序” - Launching an 'App for Office' from the iOS Office app 如何将文件文件夹从IOS App捆绑资源复制到Documents Directory - How to copy a folder of files from IOS App bundle resources to Documents Directory 将所有文件从文档/收件箱移到iOS应用中的文档 - Moving all files from documents/inbox to documents in iOS app Phonegap + jQuery mobile:使用jQuery Mobile从iOS应用程序的Documents文件夹中注入html文件 - Phonegap + jQuery mobile: injecting html files from iOS app's Documents folder with jQuery Mobile 为什么我的iOS App的“文档”目录成为文件? - Why my iOS App's Documents directory became a file? 如何从其他iOS应用程序读取应用程序文档目录中的文档? - How can I read documents in my app's Document directory from other iOS apps? iOS App更新新版本从Documents文件夹中删除文件 - iOS App update new version delete files from Documents folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM