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/