While mail sending process using ios 8 simulators generates error

13,482

Solution 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.

Solution 2

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

Share:
13,482
Zalak Patel
Author by

Zalak Patel

Updated on June 18, 2022

Comments

  • Zalak Patel
    Zalak Patel almost 2 years

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