gpt4 book ai didi

ios - CFBundleDocumentTypes -- 在 'Photos' 中列出我的应用程序

转载 作者:行者123 更新时间:2023-12-01 15:51:41 30 4
gpt4 key购买 nike

我已经使用以下信息设置了我的 info.plist。当您从电子邮件访问文件时,我的应用程序会被列出,但我希望当有人在他们的照片应用程序中时,我的应用程序会被列出。我还需要做些什么才能列在“照片”应用中吗?

<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>MyApp</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>public.movie</string>
</array>
<key>NSExportableTypes</key>
<array>
<string>public.movie</string>
</array>
</dict>
</array>

例如我想要的:

  1. 列表项
  2. 用户打开股票照片应用
  3. 选择一个视频
  4. 点击打开/分享按钮
  5. 我希望我的应用列在这里(在 Facebook、Vimeo、YouTube 等旁边)

最佳答案

为了在照片应用程序中列出,您需要实现共享扩展。 Docu

关于ios - CFBundleDocumentTypes -- 在 'Photos' 中列出我的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20619908/

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