不需要在MFMailComposeViewController中保存草稿 [英] No need to save draft in MFMailComposeViewController

查看:122
本文介绍了不需要在MFMailComposeViewController中保存草稿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



单击MFMailComposeViewController的取消按钮后,将生成保存草稿的操作表。





我不想要此操作表如何实现? /developer.apple.com/library/ios/#documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.htmlrel =nofollow>文档



< blockquote>

重要邮件组成界面本身不是可自定义的
,不能由应用程序修改。
此外,在
呈现界面后,您的应用程序不允许对
进一步更改电子邮件内容。用户仍然可以使用界面编辑
内容,但是忽略编程更改。
因此,您必须在提供
接口之前设置内容字段的值。


问题我想。



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.

解决方案

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.

这篇关于不需要在MFMailComposeViewController中保存草稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆