Xcode iOS 11显示应用程序中的文件夹应用程序File Apple
问题描述:
我无法理解如何在Apple File应用程序*享由我的应用程序创建的文件夹和文件。 实际上怎么做应用网页Xcode iOS 11显示应用程序中的文件夹应用程序File Apple
我试过,但没有奏效 How to enable file sharing for my app?
答
编辑您的Info.plist文件并添加这些键:
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
包含在文件共享链接问题在于基于iTunes的文件共享,该文件仍然受支持,仅需要UIFileSharingEnabled
密钥。 iOS 11中的新文件应用程序需要该密钥加上LSSupportsOpeningDocumentsInPlace
密钥。