I would like to know what code should i use if i want to make my app able to take a screenshot of the screen by pressing a UIbutton and immediately pop up and Mail compose and email out the screenshot without saving it into photo library?
Many thanks!
You will need to add two frameworks to your project –
QuartzCoreandMessageUIand then do#import <QuartzCore/QuartzCore.h>and#import <MessageUI/MessageUI.h>.Your button press code should be like,