2
我岂基本上做的是发送电子邮件:发送电子邮件原因 - 连接中断
-(void) sendAnEmail {
if ([MFMailComposeViewController canSendMail])
{
MFMailComposeViewController *mail = [[MFMailComposeViewController alloc] init];
mail.mailComposeDelegate = self;
[mail setSubject:@"Subject"];
[mail setMessageBody:@"Hey, check this out!" isHTML:NO];
[mail setToRecipients:@[@"[email protected]"]];
[self presentViewController:mail animated:YES completion:NULL];
}
else
{
NSLog(@"device cannot send email");
}
}
没有错误,没有任何警告。输出。如果这个空间是:
BSXPCMessage的消息中收到错误:连接中断
我该如何解决这个问题?
试验装置 - 5S(8.3)
是这段代码实际上越来越叫什么名字? – alexburtnik
你对CIFilter有任何操纵吗? – alexburtnik
好吧,我想发送附件的电子邮件,出现同样的问题,所以我尝试一些简单的事情,这是实际的代码 –