How can I integrate the ios app into the “Share out” panel in the iOS photo message viewer?

I see that in the "share out" panel there are several different applications that appear when you upload an image to iOS 6+, and would also like to close my application. How can i do this? Here is a screenshot for clarification:

The "share out" pane

My application will take place next to Catch or Evernote, for example.

thank

+5
source share
1 answer

You need to indicate that your application can open image files. This is done in Info.plist:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Images</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.image</string>
        </array>
    </dict>
</array>

"" . , , application:openURL:sourceApplication:annotation:. URL .

+6

All Articles