How to open image in my ios app from another app?

image, instagram, ipad, iphone

Solution

Navigate to your project.

Select your app target and open "info" tab.

Now in "Document Types" add a document type with these settings:

Name: "whatever" or "image"

Types: public.image

Save this and compile the app. Now your app should show in open in... list from other apps.

Now follow apple Opening Supported File Types and continue your development

For a complete list of types follow this: Uniform Type Identifiers Reference

Problem

As Instagram and some another apps have option to open image in there app from any other app. I also want to do similar kind of thing for my iOS image processing app. So user can open there image from any app in my iPhone/iPad app. But I don't know how it is possible.

Original source