如何在点击 UITabBar 项目时弹出键盘
我有一个 UITabBarController,其中视图之一是 MFMailComposeViewController。
有什么方法可以让键盘在点击此视图的选项卡时显示,而不是显示电子邮件地址的文本字段?
I have a UITabBarController, in which one of the views is a MFMailComposeViewController.
Is there any way I can get the keyboard to show when the tab for this view is tapped, rather than the text field for the email address?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于 MFMailComposeViewController 继承自 UIResponder,您应该能够调用:
Since MFMailComposeViewController inherits from UIResponder, you should be able to call: