I'm trying to figure out how some apps send images attached to text messages. I don't see anything in MFMessageComposeViewController so ... any idea ?
it is not currently possible;
Is it possible to send a picture message using iPhone SDK?
however there are alternatives;
alternative for MFMessageComposeViewController
Related
Is there any way to send recorded voice in message programmatically using objective-c and iPhone.
I am sending text message using messageUI framework but now I want to send voice message too.
There's nothing straightforward built for voice messages built into iOS, unlike "MFMessageComposeViewController". You'll have to write your own voice recording code or make use of something open source or third party/commercial. Here's a related question that talks about how to record audio through iOS.
Plus this depends on how you want the recipient to receive the recorded voice message? A mp3 or some other audio file sent via e-mail (which you can do using the MFMailComposeViewCOntroller) or some other way?
I an new to Iphone developing now i have a problem with MFMessageComposer how to attach a audio file with message like MMS .I knew how to attach attachments to MFMailComposeViewController but i want for MFMessageComposeViewController please help...
Thanks in Advance
No ,you just can't share images,video or audio file s from your app in iOS
This is perhaps because of the infringement issues
MFMessageComposeViewController has a couple of addAttachment... methods that should be useful for what you are trying to do.
Hey guys I was wondering if anyone had some sample code for enabling the camera for the iphone. I want to be able to Send the captured image to webservice.
Use UIImagePickerController and its delegate method will help you to get the image from camera which you can use.
Reference
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
Pls refer this also
How to send images to a web service?
Does anyone have any idea how can I save/upload a photo from iphone application via http?
Thanks
Through the SDK available, you'd need to go through the UIImagePicker control to select a photo, convert it to NSData, apply the appropriate encoding and the perform the HTTP post.
Here's a code snipper showing how to use the UIImagePicker control:
http://www.ikangai.com/blog/development/code-snippet-of-the-week-uiimagepicker
is it possible to record the sound in iPhone 2.1 and then attache it in mail? I have to record any sound on one button click. Please help for that.
I believe that the iPhone 2.1 SDK does not have any APIs to attach an audio clip in mail.
I believe you could do this if you wrote your own email app and were able to properly encode the data from our audio file as an attachment. From what I have read the current sandbox environment for the Mail is only allowed to look into pictures for attachments.