No need to save draft in MFMailComposeViewController

萝らか妹 提交于 2019-12-10 20:01:38

问题



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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!