gpt4 book ai didi

ios - CFBundleDocumentTypes 未注册

转载 作者:行者123 更新时间:2023-11-29 13:24:35 24 4
gpt4 key购买 nike

现在我正在为 iOS 制作一个基于文档的应用程序。我目前正在尝试注册 .zip 以使用我的应用程序打开。我试过 apple 的示例和许多其他教程,例如 here .但是,它们都没有使我的应用程序出现在 mail.app 或任何其他应用程序中。我什至尝试删除该应用程序然后运行它但没有成功。如果它有所作为,我正在运行 iOS 6。下面是 info.plist 的一部分:

<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Zip File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.pkware.zip-archive</string>
</array>
</dict>
</array>

非常感谢任何帮助。

最佳答案

我处理 zip 文件并有这个:

    <dict>
<key>CFBundleTypeName</key>
<string>ZIP</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>com.pkware.zip-archive</string>
<string>public.zip-archive</string>
</array>
</dict>

关于ios - CFBundleDocumentTypes 未注册,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13465797/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com