My iOS application does not handle image file type in all applications

I want my application to be in the "Open in" option for the image.

I used this code in my Info.plist

<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>Image</string> <key>LSHandlerRank</key> <string>Alternate</string> <key>LSItemContentTypes</key> <array> <string>public.image</string> </array> </dict> <dict> <key>CFBundleTypeName</key> <string>PNG image</string> <key>LSHandlerRank</key> <string>Alternate</string> <key>LSItemContentTypes</key> <array> <string>public.png</string> </array> </dict> <dict> <key>CFBundleTypeName</key> <string>JPEG image</string> <key>LSHandlerRank</key> <string>Alternate</string> <key>LSItemContentTypes</key> <array> <string>public.jpeg</string> </array> </dict> </array> 

In the Inbox app when sharing an image, I see my Quotle app:

enter image description here

But in the Apple "Photos" application, I do not see my application:

enter image description here

What can I do to see my application in the sharing menu in the Photos application?

+8
ios
source share
1 answer

To show your application in the list of photos in the list, you need to add a new Share Extension target to your project, please refer to document for more information on how to add the Share extension.

+5
source share

All Articles