我的应用如何通过照片发送彩信? [英] How can my app send MMS with a photo?

查看:108
本文介绍了我的应用如何通过照片发送彩信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的应用程序撰写一条消息,我可以添加一张照片,例如:我在iPhone中输入了我的相册并打开了一张照片,我可以点击选项,然后在彩信标签上添加照片在一条消息中,我可以将其发送给我想要的任何联系人。
我想要的是当我点击我的应用程序上的按钮时,会打开一个消息窗口,其中包含来自我在XCode中的资源的照片,我该怎么做?

I would like to compose a message from my app which I can include a photo, for example: I entered my album in the IPhone and open a photo I can click on option and then on MMS tab and the photo will be added in a message and I can send it then to a whatever contact I want. what I want is that when I click on a button on my app, a message window will open with a photo from my resources in the XCode, how can I do that?

推荐答案

使用当前的MessageUI API无法做到这一点。 MSMessageComposeViewController不接受邮件视图控制器等附件。

This is not possible with the current MessageUI API. The MSMessageComposeViewController doesn't accept attachments like the Mail View controller.

这篇关于我的应用如何通过照片发送彩信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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