2012-08-17 68 views

回答

0

您可以創建一個html頁面代碼,並將該圖像作爲標籤插入,並將整個html作爲字符串傳遞給Body的MFMailComposer。它看起來很酷。 你需要在此線

MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init]; 
     controller.mailComposeDelegate = self; 
     if ([recipentArray count]>0) 
     { 
      [controller setToRecipients:self.recipentArray]; 
     } 
     [controller setSubject:self.emailSubject]; 
     [controller setMessageBody:self.messageBody isHTML:YES]; // isHTML -> YES/NO depending the message body 
     [object presentModalViewController:controller animated:YES]; 
     RELEASE_SAFELY(controller); 

一旦你將實現MFMailComposer你需要,如果你正在使用的HTML頁面中body.Let我知道如果您有任何疑問,設置布爾

+0

它正常工作... – 2012-08-27 11:00:39

相關問題