0

我正在使用MFMailComposeViewController. 我有一个UIScrollView包含几个标签的 aUIWebview和 a UIImageview。当我点击最终调用该MFMailComposeViewController方法的邮件按钮时,滚动视图不再滚动。

这是我使用的代码MFMailComposeViewController

- (void)message
{    
MFMailComposeViewController *mailcontroller =
[[MFMailComposeViewController alloc] init];
[mailcontroller setMailComposeDelegate:self];
[mailcontroller setSubject:[[NSString alloc] initWithFormat:@"%@",news_Title]];
[mailcontroller setMessageBody:bodyMail isHTML:YES];
[self dismissViewControllerAnimated:YES completion:nil];

[self presentViewController:mailcontroller animated:YES completion:nil];
}

-(void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError *)error {
[self dismissViewControllerAnimated:YES completion:nil];
}
4

0 回答 0