我想在图片打开方式中添加应用程序图标,如下图所示:
I would like to add the application icon in the image "Open with" as like the below image :
我已实现以下代码,在文档中添加打开方式但对于图像,它不起作用。
I have implement the below code to add the "Open with" in the document but for the image it doesn't work.
<dict> <key>CFBundleTypeName</key> <string>Unknown File</string> <key>LSHandlerRank</key> <string>Alternate</string> <key>LSItemContentTypes</key> <array> <string>public.content </string> </array> </dict>Public.content在所有应用程序中添加open with。
Public.content is adding the "open with" in all the applications.
Public.image未添加打开方式。根据Xcode 5,我已根据以下屏幕截图修改了信息中的文档类型。
Public.image is not adding in the "Open with". As per Xcode 5 i have modified the document type in info as per the below screen shot.
请告诉我应该在添加应用程序图标的参数类型打开?
Can please let me know what type of parameter should add the app icon in "Open with" ?
推荐答案
据我所知,无法将您的应用添加到共享对话框中照片应用程序(即使您的应用程序已正确配置为支持各种图像类型或一般内容)。
As far as I know, it is not possible to add your app to the share dialog of the Photos application (even if your app is correctly configured to support all kinds of image types or general content).
要获取照片你的应用程序,你必须反过来使用 UIImagePickerController 或 ALAssetsLibrary 到 fetch 照片。
To get photos into your application, you have to go the other way around and use an UIImagePickerController or the ALAssetsLibrary to fetch the photos.
更多推荐
如何在“打开方式或与...共享”中添加应用程序在照片图片?
发布评论