为什么我无法注册我的iOS应用程序来处理图像文件类型? [英] Why can't I register my iOS application to handle the image file type?
本文介绍了为什么我无法注册我的iOS应用程序来处理图像文件类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在将图片档案类型注册到我的应用程式时发生问题。我尝试将下面的代码添加到我的plist,但没有任何反应。
I have a problem registering image file types to my application. I tried adding the code below to my plist but nothing happens.
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Scary Bug Document</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>LSItemContentTypes</key>
<array>
<string>public.image</string>
</array>
</dict>
</array>
我注意到我可以注册其他文件类型,例如文本(更改 public.image
到 public.text
),但它只是不能使用图像(打开...菜单不是显示我的应用程式)。
I noticed that I can register for other file types, such as text (changing the public.image
to public.text
) but it just won't work with images (the "Open In .." menu is not showing my app).
这可能是什么原因造成的,我该如何解决?
What could be causing this, and how could I fix it?
推荐答案
做一点研究后,似乎是不可能注册的应用程序的图像。
感谢您的回答。
After doing a bit of research it seems that is not possible to register the app for images. Thanks for your answers.
这篇关于为什么我无法注册我的iOS应用程序来处理图像文件类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文