While mail sending process using ios 8 simulators generates error

怎甘沉沦 提交于 2019-11-27 02:03:59

问题


When i am using simulator of iphone 5s such error is appears during mail sending and perfectly runs in ios 7 simulators. It even does not show send option and only cancel option appears when it open ups mail sending page. What should i do to solve it please help me out. Thank you in advance

ERROR:-

'_serviceViewControllerReady:error: Error Domain=NSCocoaErrorDomain Code=4097 "The operation couldn’t be completed. (Cocoa error 4097.)" (connection to service named com.apple.uikit.viewservice.com.apple.MailCompositionService) {NSDebugDescription=connection to service named com.apple.uikit.viewservice.com.apple.MailCompositionService}'

viewServiceDidTerminateWithError: 'Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" {Message=Service Connection Interrupted}'


回答1:


FYI have the same problem with the iOS 8 simulator, having not seen the issue on iOS 6/7 simulators or iOS 7 hardware. Found this useful link:

I have REAL misunderstanding with MFMailComposeViewController in Swift (iOS8) in Simulator (note that Swift is not part of the problem)

On the 19th I'll have proper iOS 8 hardware to test on so might be able to confirm if it only happens on the simulator!

EDIT: I can confirm that I'm not seeing it on my iPhone 6 Plus device having seen it every single time I launched it in the iPhone 6 Plus simulator.




回答2:


Issue is with IOS 8 Simulater . When checked with all devices in IOS 7 and 7.1 Simulater ,MFMailComposeViewController works fine .



来源:https://stackoverflow.com/questions/25801366/while-mail-sending-process-using-ios-8-simulators-generates-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!