mfmailcomposer

MailComposer didFinishWith results doesn't work in Swift 3.0

喜你入骨 提交于 2019-11-28 01:13:16
问题 I converted my app to swift 3.0 and have a problem with MailComposeController . When I call function: `func mailComposeController(_ controller: MFMailComposeViewController, didFinishWith result: MFMailComposeResult, error: Error?){ controller.dismiss(animated: true, completion: nil) }` first of all I have an error with info: what is strange for my, becouse I copy and paste this method from MFMailComposeViewControllerDelegate . When I change Error to NSError it works, but I receive a warning

iphone email attachment

北战南征 提交于 2019-11-27 13:21:10
I used the MessageUI framework to send the mail with attachment from my application. But i got the following error, 2009-09-07 19:52:23.483 emailTest[11711:5b17] Error loading /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/DataClassMigrators/AccountMigrator.migrator/AccountMigrator: dlopen(/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/DataClassMigrators/AccountMigrator.migrator/AccountMigrator, 265): Library not loaded: /System/Library/PrivateFrameworks/MobileWirelessSync.framework

iphone email attachment

天涯浪子 提交于 2019-11-26 22:22:58
问题 I used the MessageUI framework to send the mail with attachment from my application. But i got the following error, 2009-09-07 19:52:23.483 emailTest[11711:5b17] Error loading /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/DataClassMigrators/AccountMigrator.migrator/AccountMigrator: dlopen(/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/DataClassMigrators/AccountMigrator.migrator

I have REAL misunderstanding with MFMailComposeViewController in Swift (iOS8) in Simulator

六月ゝ 毕业季﹏ 提交于 2019-11-26 11:39:00
I create a CSV file and try to send it by e-mail. Displays a window to send mail, but is not filled with the body of the email, and no attached file. Application hangs with this screen: button "Cancel" does not work. After a few seconds in the console appears: viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" UserInfo=0x7f8409f29b50 {Message=Service Connection Interrupted} <MFMailComposeRemoteViewController: 0x7f8409c89470> timed out waiting for fence barrier from com

I have REAL misunderstanding with MFMailComposeViewController in Swift (iOS8) in Simulator

本小妞迷上赌 提交于 2019-11-26 03:33:26
问题 I create a CSV file and try to send it by e-mail. Displays a window to send mail, but is not filled with the body of the email, and no attached file. Application hangs with this screen: button \"Cancel\" does not work. After a few seconds in the console appears: viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 \"The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)\" UserInfo=0x7f8409f29b50 {Message=Service Connection