Objective-C: Share both, Text AND Image via UIDocumentInteractionController from Instagram / Facebook / Twitter

I just want to know if there is a way to share the image AND text with the UIDocumentInteractionController.

I developed an application that has sharing functionality, and so far I can share photos with facebook, twitter and instagram, but without text with an image.

I use UIDocumentInteractionController because otherwise I couldnโ€™t exchange photos via instagram (for example, this could not be done using ActivityViewController).

+6
source share
1 answer

You can not, UIDocumentInteractionController for documents. This is even a name.

The solution was to save the line in a text file and share this file, or if you want to share the line, for example, to post to a social network, you should use the UIActivityViewController

0
source

All Articles