iPhone MFMailComposeViewController
有没有办法从 MFMailComposeViewController 关闭键盘?如果用户旋转设备,我将加载一个单独的控制器,而无需按下“发送”或“取消”,并且键盘仍保留在屏幕上。有没有办法在不按下“完成”或“发送”的情况下关闭键盘?
Is there a way to dismiss the keyboard from MFMailComposeViewController ? If the user rotates the device, I am loading a separate controller without "send" or "cancel" being pressed, and the keyboard is remaining on screen. Is there an way to dismiss the keyboard without "done" or "send" being pressed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以找到第一响应者并要求其退出活动状态,这应该会关闭键盘。
You can find the first responder and ask it to resign active which should dismiss the keyboard.