如何像使用Intent.ACTION_SEND在Android应用程序中一样,通过iOS应用程序中的其他应用程序共享内容/数据?

问题描述:

在Android中,我们可以通过Intent.ACTION_SEND startactivity api轻松共享内容(文本,图像,视频等).

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

我已经有一个应用程序可以完美地做到这一点,还有一个并行的iOS应用程序,我希望实现相同的功能.

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

是否有iOS api支持,还是我必须使用第三方SDK或编写我自己的界面层?

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

提前谢谢!

您可以通过实现博客退出.

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.