i want to send an image through native application in iphone.
I have searched a lot on web but cant find anything.
is it possible with iOS?
Please do help...
MFMessageComposeViewController is the only documented API for creating SMS messages programmatically. It does not currently allow MMS but you can file a bug report for the feature request. In the meantime, you can either:
-use MFMailComposeViewController which does allow image attachments via -(void)addAttachmentData:(NSData*)attachment mimeType:(NSString*)mimeType fileName:(NSString*)filename
-or like Aurum mentioned, save the image to the photo library and instruct the user to send it with the native "Messages" app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With