简体   繁体   English

来自相机或照片库MFmessage / MailcomposeViewController的图像附件

[英]image attachment from camera or photo library MFmessage/MailcomposeViewController

Am wondering if i can attach an image to my SMSComposerSheet (like the message application in the iPhone does). 我想知道我是否可以将图像附加到我的SMSComposerSheet上(就像iPhone中的消息应用程序一样)。 I've already implemented image picking (from library and camera) So may be i need some thing to add in the displaySMSComposerSheet method to allow That. 我已经实现了图像拾取(从库和相机中拾取),所以可能是我需要在displaySMSComposerSheet方法中添加一些东西来允许执行该操作。

One other thing, i want to do the same thing with mails sending, but i think that i couldn't, so i was thinking about saving the image into the application's sandbox then attach it to the mail. 另一件事,我想对邮件发送做同样的事情,但是我认为我做不到,因此我正在考虑将图像保存到应用程序的沙箱中,然后将其附加到邮件中。 but i don't know how to do that :s 但我不知道该怎么做:s

Thanks in advance 提前致谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 附加相机或照片库中的图像缩略图 - Attaching image thumbnails from camera or photo library 如何检测照片库中的图像是由iPhone相机拍摄还是导入 - how to detect if image from photo library was taken by iPhone camera or imported 如何将照片库或相机中的图像添加到我的Ipad应用程序? - how to add image from photo library or camera to my Ipad application? 如何将相机/照片库中的图像保存到要在UICollectionView中显示的数组中 - How to save image from camera/photo library into an array that is to be displayed in a UICollectionView 从相机/照片库上传离子应用程序图像 - Ionic app image upload from camera / photo library 是否可以检查图像是由相机拍摄的还是由JavaScript从照片库上传的? - Is it possible to check if an image is taken by camera or uploaded from photo library by JavaScript? Swift-从图库和相机中强制拍摄方形照片 - Swift - force square photo from library and camera 使用UIImagePickerController从照片库中访问相机 - Accessing camera from within the photo library with UIImagePickerController 要求用户使用 swift2 从照片库或相机中选择照片 - Ask user to choose photo from photo library or camera with swift2 从相机发送带有图像附件的邮件 - Send mail with image attachment from camera
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM