以编程方式在iPhone上发送彩信图像? [英] sending an image with mms on iphone programmatically?

查看:85
本文介绍了以编程方式在iPhone上发送彩信图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有解决方案在整个网络中搜索...

Searched the whole web for this with no solution...

我想用iphone相机拍照,然后可以通过彩信/电子邮件发送出去. 这不是必须在我的应用程序中发生的,但是至少我希望能够调用MMS/E-Mail应用程序,并使其选择所拍摄(和存储)的图片.

I want to take a picture with the iphone camera and then be able to send it out via MMS/E-Mail. This doesn't have to happen in my app, but at least I'd like to be able to call the MMS/E-Mail app and make it select the taken (and stored) picture.

当我使用内置的Photo-Album应用程序时,每张照片的左下角都有一个按钮,让我共享/打印实际照片...

When I use the built-in Photo-Album app, every picture has a button on the lower left corner which let's me share/print the actual photo...

所以我有点希望我能够在我的应用程序中构建类似的东西...?

So I kinda hope I'll be able to build something like that into my app...?

有什么想法吗?

感谢您的回答.

与此同时,我发现我至少可以从"MessageUI"框架内发送电子邮件和SMS. 但是,似乎无法将图像添加到SMS的消息正文中(该死)...

Meanwhile, I found out that I could at least send E-Mails and SMS's from within the «MessageUI»-Framework. However, it seems that I can't add an image to the message-body of an SMS (damn)...

推荐答案

您不能以编程方式触发MMS/SMS.您将需要将控制权移交给UIImagePickerController并将其sourceType字段设置为PhotoLibrary.

You cannot fire an MMS/SMS programatically. You will need to hand over control to the UIImagePickerController and set its sourceType field to PhotoLibrary.

欢呼 纳仁(Naren)

Cheers Naren

这篇关于以编程方式在iPhone上发送彩信图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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