ios - MFMailComposeViewController iphone 键盘没有 DONE 或 CANCEL

标签 ios mfmailcomposeviewcontroller

MFMailComposeViewController 附带的键盘一旦出现就没有任何方法可以关闭键盘。 有谁有换键盘的想法吗?由于您当时实际上在邮件客户端中,所以没有暴露 UITextField

最佳答案

邮件编辑器不是您可以修改的,它是系统提供的 View Controller ,在文档中明确告诉您不要修改:

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.

左上角已经有取消按钮,“完成”会做什么?发送电子邮件?那是在右上角。

关于ios - MFMailComposeViewController iphone 键盘没有 DONE 或 CANCEL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8549059/

相关文章:

ios - 对包括导航栏和选项卡栏的 View 进行快照

c# - UINib 的 Xamarin DequeueReusableCell 始终生成 null

ios - 如何使段控制在 Swift4 中工作?

objective-c - 尝试在带有按钮的自定义单元格内创建 IBAction

ios - 如何使用 MFMailComposeViewController 进行自定义消息传递

iphone - 如何对用户在 iPhone 中输入的电话号码的文本字段执行验证?

android - 如何在ionic2其他ts文件中导入配置ts文件

iphone - 更改 MFMailComposeViewController 的标题

objective-c - MFMailComposeViewController : subject/text non editable?