在 UIWebView 中点击文本框时没有出现键盘 [英] Keyboard not Appearing when Tapping Text Box in UIWebView

查看:12
本文介绍了在 UIWebView 中点击文本框时没有出现键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 UITabViewController 设置有两个选项卡,第二个包含网络浏览器.除非我首先在第一个选项卡中显示并关闭 UIAlertView,否则键盘不会出现在我的应用程序中.可能有什么问题?

I have a UITabViewController set up with two tabs, the second containing a web browser. The keyboard will not appear in my App unless I first display and dismiss a UIAlertView in the first tab. What could possibly be wrong?

推荐答案

已解决;我不小心删除了:

Solved; I accidentally removed:

[window makeKeyAndVisible];

这篇关于在 UIWebView 中点击文本框时没有出现键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆