How to open image in ios app from another app?

Like Instagram and some other applications have the ability to open the image in the application from any other application. I also want to do the same for my iOS image processing application. Thus, the user can open the image there from any application in my iPhone / iPad application. But I do not know how this is possible.

+6
source share
2 answers

Yes, you can open any type of file in another supported application on your iOS device with the "Open" option.

Please follow this Apple document for the iOS Document Interaction Theme . >

1) You can also refer to this tutorial . Which explains an example pdf file.

2) To check the settings for this and other possible types, found here. You can manage various types of documents by adding UTI.

+8
source

Go to your project.

Select the application’s landing page and open the "Information" tab.

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

Name: "whatever" or "image" Types: public.image 

Save this and compile the application. Your application should now appear in an open ... list from other applications.

Now run apple. Open supported file types and continue development.

For a complete list of types, follow these steps: Uniform description of type identifiers

+5
source

All Articles