Email 试图通过iphone应用发送电子邮件,但在iOS 8中使用MFMailComposeViewController时出错

Email 试图通过iphone应用发送电子邮件,但在iOS 8中使用MFMailComposeViewController时出错,email,ios-simulator,ios8,xcode6,Email,Ios Simulator,Ios8,Xcode6,我导入了MessageUI.h类,并在MFMailComposeViewController Delegate中实现了该函数。 我遵循了以下教程: 我目前正在使用Xcode 6.0.1和iOS SDK 8.0在模拟器上构建和运行应用程序。问题是: 在模拟器中运行应用程序时,我得到以下错误 2014-09-26 03:39:07.687发送消息[44465:2674263]邮件已取消 2014-09-26 03:39:07.743 SendMessage[44465:2673753]viewSer

我导入了MessageUI.h类,并在MFMailComposeViewController Delegate中实现了该函数。 我遵循了以下教程:

我目前正在使用Xcode 6.0.1和iOS SDK 8.0在模拟器上构建和运行应用程序。问题是:

在模拟器中运行应用程序时,我得到以下错误

2014-09-26 03:39:07.687发送消息[44465:2674263]邮件已取消
2014-09-26 03:39:07.743 SendMessage[44465:2673753]viewServiceDidTerminateWithError:Error Domain=\uUIViewServiceInterfaceErrorDomain Code=3“操作无法完成。(\uUIViewServiceInterfaceErrorDomain Error 3.)“UserInfo=0x7fe873e01d30{消息=服务连接中断}”
2014-09-26 03:39:25.172 SendMessage[44465:2674263]等待com.apple.MailCompositionService的围栏屏障时超时


有什么建议可以让这项工作顺利进行吗

这是模拟器中的已知错误。在设备上运行时,它不会出现。因此,在一台设备上试用它,如果它运行正常,那么你应该没问题。

模拟器没有邮件应用程序或设置邮件帐户的方法。