Email image with animation

In my application, I am using MFMailComposeViewController

to send email.

I add an image with this code:

NSURL *aUrl  = [NSURL URLWithString:photoURL];
NSData   *data = [NSData dataWithContentsOfURL:aUrl];

[self addAttachmentData:data mimeType:@"image/png" fileName:siteName];

      

The modal look is fine and the image is there.

My question is, is it possible to do the same that we could see when we email a picutre from a photo app? When does the image pop up and the post composer modal view appears below the image?

thank

+3


source to share


1 answer


It might be available using one of Apple's private APIs, which will reject your app from the App Store.

Please check the first important note in the official link MFMailComposeViewController .



The mail composition interface is not customizable and cannot be changed by your application.

+1


source







All Articles