2

I have an application that has enabled fileSharing and user can copy files into the app - I need some thing more in my application!

As you see in the photo here some applications let the user to save file to another application so how can I enable this?

I want to see my application icon here beside these apps

here you can see what I want

Anh Pham
  • 2,108
  • 9
  • 18
  • 29
Saeed Rahmatolahi
  • 1,317
  • 2
  • 27
  • 60

1 Answers1

2

You need to register that your app can open the type of document that the other app uses.

See How do I get my application to show up in the Open in... menu from the Apple Developer Library Q&A.

Summary:

To do this you need to add a document type to your app’s Info.plist for each document type that your app can open. Additionally if any of the document types are not known by iOS, you will need to provide an Uniform Type Identifier (UTI) for that document type.

Ali Beadle
  • 4,486
  • 3
  • 30
  • 55
  • I got this - i have one question: when user wants to open in can app save the file in itself or not ? and another thing is this is not explained simple please add more links here and thanks for helping – Saeed Rahmatolahi Jul 17 '17 at 07:43
  • I don't understand your new question. I recommend you rephrase it, give an example of code you have tried, and post it as a separate Stack Overflow question. Similarly with the linked explanation: I think it is quite clear, so give it a go and if you get stuck, post your code and ask a new question. – Ali Beadle Jul 17 '17 at 10:50
  • I have an app that can upload files But I want when user in the another app tapped open in with files when selected my app going to my app and that file store in my app is that clear? – Saeed Rahmatolahi Jul 17 '17 at 10:53