问题
After clicking the cancel button of MFMailComposeViewController action sheet of save draft or not is generated.
I dont want this action sheet how can i achieve that?
thanks in advance.
回答1:
From documentation
Important The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content. The user may still edit the content using the interface, but programmatic changes are ignored. Thus, you must set the values of content fields before presenting the interface.
First line answers your question I think.
来源:https://stackoverflow.com/questions/10810627/no-need-to-save-draft-in-mfmailcomposeviewcontroller