在iOS8模拟器上缺少键盘? [英] Missing keyboard on iOS8 simulator?

查看:147
本文介绍了在iOS8模拟器上缺少键盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在模拟器中对iOS8检查我的应用程序,让我感到困惑的一件事是,当我点击UITextField或UITextView时,键盘没有出现在屏幕上!我仍然可以用我的硬件键盘输入文字。此外,如果input元素具有inputAccessoryView,则该视图将显示在屏幕底部。所以一切都按预期工作,除了键盘没有出现在屏幕上。
这对整个应用程序中的所有输入元素都有效。
我没有将新功能用于自定义键盘。

I'm checking my app against iOS8 in the simulator and one thing that puzzles me is that when I tap on a UITextField or UITextView the keyboard doesn't appear on the screen! I can still enter text with my hardware keyboard. Also, if the input element has a inputAccessoryView, that view is shown on the bottom of the screen. So everything works as expected except that the keyboard is not appearing on the screen. This is valid for all input elements throughout the app. I don't use the new feature for custom keyboard.

检查设置 - 看不到任何有用的功能。

Checked the Settings - don't see anything that can help.

我知道XCode6仍然是一个测试版,但这似乎是一个很明显的错误问题(或者是它!?)

I know XCode6 is still a beta but this seems too obvious problem to be a bug (or is it!?)

推荐答案

在iOS模拟器菜单中选择:

In the iOS Simulator menu select:

硬件> 键盘> 切换软件键盘

Hardware > Keyboard > Toggle Software Keyboard

或按 Cmd + K

必须启用同一菜单中的连接硬件键盘选项。

The Connect Hardware Keyboard option in the same menu has to be enabled.

这篇关于在iOS8模拟器上缺少键盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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