我正在從iPhone應用程序發送電子郵件我想當用戶點擊發送電子郵件按鈕後,它應該調用測試()方法任何想法如何做到這一點我正在使用以下代碼。發送按鈕後如何調用方法發送電子郵件從iphone應用程序點擊
NSString * emailBody [email protected]"<html><body>Thank you for your participation in Consulting<br>Practitioner and Client Program.</br><br>Attached is the copy of your signed contract for your records<p>Please email or fax your completed W-9 form to<br>our PEI Support Team<br>Email:[email protected]<br>Fax:800-741-1310<body></html>";
[picker setMessageBody:emailBody isHTML:YES];
[self.navigationController presentViewController:picker animated:YES completion:nil];
}
}
[self test];
}
test() - 方法..在這個意義上..?你需要郵件確認或你自己的方法..? –