How to add an UIImage in MailComposer Sheet of MFMailComposeViewController in iPhone?

Back again with a new answer. I'm still leaving my previous code up though, because I'm still not convinced that there's not a way to make use of it. I'll keep at it myself.

The following code DOES work. Mustafa suggests base64 encoding the images, and says that they only work Apple to Apple, but that's not actually true. Base64 encoding does work with most mail clients now (IE previously didn't support it, but now it is supported for images up to a certain size, though I'm not sure exactly what the size is).

The problem is that mail clients like Gmail would strip out your image data, but there's a simple workaround for that... just putting b> and Copy the . H and . M files into your project and be sure to #import the .

H file where you plan on using it. Then code like this will get an image into your email body...

There are two ways to do this, depending on where the images are stored.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions