messageui

MFMailComposeViewController view does not dismiss 2nd time

房东的猫 提交于 2019-12-02 06:39:55
I have what I believe is a unique problem. I am having trouble getting my email window to dismiss. I am using Xcode 8. The email dismisses correctly the first time I open it, but if I open it again it won't. If I press "Cancel" it does not give me the option to "Delete Draft". If I press "Send" the email is sent, but the window does not dismiss. My code is below. The mailComposeController gets called correctly the first time, but it never gets called a second time. Does anyone have any ideas about what I am missing? let mail = MFMailComposeViewController() func sendEmail(body: String, subject:

Is it possible to have a custom view for MFMailComposeViewController?

可紊 提交于 2019-12-01 10:57:01
问题 I have a nicely designed mail sending page that I have to implement. I would like to use MFMailComposeViewController to achieve this task but this comes with its own regular view. What are my options? Is there a way to use my own view with MFMailComposeViewController? Or maybe another way to send emails from the app that allow me to customize the view? Thanks! 回答1: You may not change MFMailComposeViewController in any way. Quoth the documentation: Important: The mail composition interface

MFMailComposeViewController view does not dismiss 2nd time

♀尐吖头ヾ 提交于 2019-12-01 06:06:28
问题 I have what I believe is a unique problem. I am having trouble getting my email window to dismiss. I am using Xcode 8. The email dismisses correctly the first time I open it, but if I open it again it won't. If I press "Cancel" it does not give me the option to "Delete Draft". If I press "Send" the email is sent, but the window does not dismiss. My code is below. The mailComposeController gets called correctly the first time, but it never gets called a second time. Does anyone have any ideas

Weak link framework

丶灬走出姿态 提交于 2019-11-30 20:19:54
Due to the last release of the adMob package, I have added the MessageUI framework to my project. As I wish to deploy my application to 2.x OS devices, I have weak linked MessageUI as advised. If I build for iPhone device 3.0, it works fine. If I build for iPhone device 2.2.1, I get a link error: "ld: framework not found MessageUI" Where could I be wrong? You are getting that error because you are building against a version of the SDK that does not implemement the MessageUI framework. What you need to do is to build for iPhone OS 3.0, but in the build settings for your target set the iPhone OS

Could an iOS application read/access SMS text?

ε祈祈猫儿з 提交于 2019-11-27 22:12:41
I want to implement an iOS application which will use the SMS text as raw information. I think Apple does not allow this. Could an iOS application read/access SMS text? or do we have any other approach to do the same? Modification: Can we read service messages which are not saved in the SMS box like balance message? Correct, you cannot access these on a standard, non-jailbroken iPhone. You should file a bug with Apple, perhaps they'll improve SMS access in the future. Not possible Check this For SMS sending through application allowed but for accessing inbox for sms/email not allowed. It is

iPhone send email not using MessageUI

半腔热情 提交于 2019-11-27 20:20:10
HI, I am looking for help, I am new to cocoa and iphone programming Is there a way to send an email, using standard account configured on the device WITHOUT opening a compose UI? I want to write an app to send me email reminders. you have a text area where you type something, when you hit button send at the titlebar it sends contents of text area to my email, that's it I have done the text area and button thing, but it opens me a compose window, when I use MFMailComposeViewController... or maybe using compose window, but hide certain fields, such as to, cc, bcc... all of articles I've found on

iPhone send email not using MessageUI

此生再无相见时 提交于 2019-11-27 04:27:09
问题 HI, I am looking for help, I am new to cocoa and iphone programming Is there a way to send an email, using standard account configured on the device WITHOUT opening a compose UI? I want to write an app to send me email reminders. you have a text area where you type something, when you hit button send at the titlebar it sends contents of text area to my email, that's it I have done the text area and button thing, but it opens me a compose window, when I use MFMailComposeViewController... or

Could an iOS application read/access SMS text?

限于喜欢 提交于 2019-11-26 20:56:03
问题 I want to implement an iOS application which will use the SMS text as raw information. I think Apple does not allow this. Could an iOS application read/access SMS text? or do we have any other approach to do the same? Modification: Can we read service messages which are not saved in the SMS box like balance message? 回答1: Correct, you cannot access these on a standard, non-jailbroken iPhone. You should file a bug with Apple, perhaps they'll improve SMS access in the future. Not possible Check