以编程方式在 iPhone 上使用彩信发送图像?
搜索整个网络没有解决这个问题...
我想用 iPhone 相机拍照,然后能够通过彩信/电子邮件发送出去。 这不一定发生在我的应用程序中,但至少我希望能够调用彩信/电子邮件应用程序并使其选择拍摄(和存储)的图片。
当我使用内置相册应用程序时,每张照片的左下角都有一个按钮,可以让我分享/打印实际照片......
所以我有点希望我能够在我的照片中构建类似的东西应用程序...?
有什么想法吗?
[编辑]
感谢到目前为止的回答。
同时,我发现我至少可以从“MessageUI”框架内发送电子邮件和短信。 但是,我似乎无法将图像添加到短信的消息正文中(该死)......
Searched the whole web for this with no solution...
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.
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...?
Any ideas?
[EDIT]
Thanks for the answers so far.
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)...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法以编程方式触发彩信/短信。您需要将控制权移交给 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.
Cheers
Naren