Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to share content/data through other apps in an iOS app like we do in an Android app with Intent.ACTION_SEND?

In Android, we can easily share content (text, images, video etc) through the Intent.ACTION_SEND startactivity api.

I have an app doing that perfectly already, and have a parallel iOS app that I hope to implement the same feature.

Is there any iOS api support or do I have to use 3rd party sdks or code my own interface layer?

Thanks in advance!

like image 690
Dbv Root Avatar asked Sep 03 '11 16:09

Dbv Root


1 Answers

You can do that by implementing a custom URL scheme. Also check this blog out.

This long question approaches the techniques for transmitting information as documents. Be aware that due to the sandboxing, "moving" huge piles of data around (from one application to another) will not be straightforward and you will have to slightly rethink your interaction process.

Several sites attempt to list the schemes, but unless Apple decides to publish them, they're bound to be inaccurate.

like image 186
Kheldar Avatar answered Oct 26 '22 08:10

Kheldar