chriskievit
chriskievit

Reputation: 1625

Add 'Open With' to own app

I am currently developing an app that has to be able to share documents between two apps. A PDF file will be openend in my app and has to be sent to another app, Pages for example, to make changes to it. From there I can send the file back to my own app if the second app supports it. Now I have been able to register the file types for my own app, and it is showing up and opening files from the second app.

The problem I'm having is adding an 'Open with' option to my own app. Apple's documentation only seems to cover assigning file types to your own app, but not how to share files with other apps. Can any of you point me in the right direction?

Upvotes: 2

Views: 1978

Answers (1)

Justin
Justin

Reputation: 2999

You need to use UIDocumentInteractionController explained here and maybe this link will help link too.

Upvotes: 2

Related Questions