info.plist
增加两个字段分别为Application supports iTunes file sharing
和Supports opening documents in place
均设置为YES
souce code本质代码如下:
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
文件.app是苹果官方出品,支持iOS 11以上安装, Documents目录的暴露利弊参半,该权限开发者需谨慎设置.