我正在从 iphone 应用程序发送电子邮件,我希望当用户单击电子邮件的发送按钮之后,它应该调用 test() 方法任何想法如何做到这一点,我正在使用以下代码。
NSString * emailBody =@"<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:PEISupportServices@zoetis.com<br>Fax:800-741-1310<body></html>";
[picker setMessageBody:emailBody isHTML:YES];
[self.navigationController presentViewController:picker animated:YES completion:nil];
}
}
[self test];
}