Created
December 20, 2013 08:37
-
-
Save urouro/8051984 to your computer and use it in GitHub Desktop.
ios mail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .h | |
// #import <MessageUI/MessageUI.h> | |
// #import <MessageUI/MFMailComposeViewController.h> | |
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; | |
picker.mailComposeDelegate = self; | |
//タイトル | |
[picker setSubject:title]; | |
//本文 | |
[picker setMessageBody:body isHTML:YES]; | |
[self presentModalViewController:picker animated:YES]; | |
[picker release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment