无法使用Mac键盘在iphone模拟器中键入文本字段? [英] Not able to type in textfield in iphone simulator using Mac Keyboard?

查看:219
本文介绍了无法使用Mac键盘在iphone模拟器中键入文本字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个以纵向和横向模式工作的基本应用程序。当iPhone模拟器键盘在横向打开并且我将应用程序切换到纵向模式时,我无法使用Mac键盘在文本字段中键入任何内容。

I am working on a basic application which is working in portrait as well as in landscape mode. When the iPhone simulator keyboard is open in landscape and I am switching the app to portrait mode I am not able to type anything in a text field using my Mac keyboard.

已有没有人经历过这个?这是一个已知的错误吗?

Has anyone experienced this before? Is it a known bug?

推荐答案

找到一个适合我的优秀解决方案。

打开模拟器,然后找到菜单硬件 - >键盘有三个选项:

Found a great solution that worked for me.
Open simulator, then find menu Hardware -> Keyboard has three options:


  1. iOS使用与OS X相同的布局:此选项禁用Mac键盘

  2. 连接硬件键盘:此选项启用Mac键盘,但键盘不会显示。

  3. 切换软件键盘:此选项允许您使用Mac键盘输入,并且还会显示iOS屏幕键盘。

  1. iOS uses same layout as OS X : This option disables the Mac keyboard
  2. Connect Hardware Keyboard : This option enables Mac keyboard but the keyboard will not show up.
  3. Toggle Software keyboard : This option will allow you type using your Mac keypad and will show the iOS on screen keyboard as well.

这篇关于无法使用Mac键盘在iphone模拟器中键入文本字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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