开发者

How to get keyboard to popup when UITabBar item is tapped

开发者 https://www.devze.com 2023-02-12 12:19 出处:网络
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 开发

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 开发者_如何学Gofield for the email address?


Since MFMailComposeViewController inherits from UIResponder, you should be able to call:

[myMailComposeViewController becomeFirstResponder];
0

精彩评论

暂无评论...
验证码 换一张
取 消