如何像使用Intent.ACTION_SEND在Android应用程序中一样,通过iOS应用程序中的其他应用程序共享内容/数据? [英] How to share content/data through other apps in an iOS app like we do in an Android app with Intent.ACTION_SEND?

查看:95
本文介绍了如何像使用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.

这篇关于如何像使用Intent.ACTION_SEND在Android应用程序中一样,通过iOS应用程序中的其他应用程序共享内容/数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆