5

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!

Dbv Root
  • 51
  • 1
  • 3

2 Answers2

5

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.

Community
  • 1
  • 1
Kheldar
  • 5,361
  • 3
  • 34
  • 63
  • Thanks Kheldar, checking out the links you posted! :) Wonder if the iOS system can return a list of apps or custom URL schemes? PS: I'm new here ... so cannot even upvote your reply! *gasp* – Dbv Root Sep 03 '11 at 16:20
  • Last time I checked, it could not. At a time, when you tried to register a scheme already used, you got an exception. There are several sites trying to list all used URL schemes but none is complete to my knowledge. Don't worry about upvoting, as long as you solve your issue :D – Kheldar Sep 03 '11 at 16:22
0

Use UIActivityViewController for sharing content with social networking apps.

kalpeshdeo
  • 1,236
  • 1
  • 11
  • 16