Is it possible to add an application to the dialog of native shared resources?

I assume that it is not possible to add applications to the native sharing dialog, for example the one used by Camera Roll. However, I see screenshots with various applications in the dialog box.

Are these only applications that are integrated into the OS, which may be in this dialog box? Or is it possible with some kind of circuit or something?

+3
source share
3 answers

I explored the capabilities of the UIDocumentInteractionController mentioned by Tiger and came to the conclusion that this is not possible.

I looked at Apple documentation declaring document types in info.plist for other applications, but not for Mail, Images / Camera Roll / etc; in the shared resources dialog box.

Edit: I really don't get downvotes .... Here are some links that say this is not possible:

+3
source

To do this, you need to subclass UIActivity. Theres an example for Dropbox: https://github.com/goosoftware/GSDropboxActivity

+2
source

Register your application as supporting the types of files you want to open, and add code to open them. See Documentation interaction programming topics .

-1
source

Source: https://habr.com/ru/post/954570/


All Articles