Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
707 views
in Technique[技术] by (71.8m points)

swift - While mail sending process using ios 8 simulators generates error

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}'

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...