Mac键盘快捷键在iOS Simulator上不起作用 [英] Mac keyboard shortcuts not working on iOS Simulator

查看:245
本文介绍了Mac键盘快捷键在iOS Simulator上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有Mac键盘快捷方式,例如 Cmd + Q (退出模拟器应用程序), Cmd + K (自今天早上起,(模拟器中的切换键盘隐藏/显示)等功能已停止运行iOS Simulator应用.

All the mac keyboard short cuts like Cmd + Q (Quit Simulator app), Cmd + K (Toggle keyboard hide/show in Simulator) etc has stopped workings for iOS Simulator app since this morning suddenly.

所有其他应用程序(包括Xcode)在菜单中显示快捷方式,并且它们运行正常.

All other apps, including Xcode, shows the shortcut in menus and they are working fine.

我注意到,在启动模拟器时,快捷键会暂时显示在菜单项上,但随后会完全消失(请参阅附件)...

I noticed, the shortcut keys shows up against menu items momentarily on launch of simulator but then disappears completely (see attached)...

我尝试关注但没有成功...

I tried following but no success...

  • 启动模拟器(打开Xcode项目,然后依次选择菜单Product> Run.并且直接通过菜单Xcode> Open Developer Tools).

  • Launch simulator (Open Xcode project and then menu Product > Run. And, directly through menu Xcode > Open Developer Tools).

在模拟器中擦除所有内容和设置...

Erase All Content and Settings in Simulator...

重新启动Mac

Xcode 9.0.1(9A1004)| Mac 10.13(17A405)

推荐答案

您可能已启用(选中)将所有键盘快捷键发送到设备"模式.在硬件">键盘"子菜单中.

You might have enabled (checked) the "Send all keyboard shortcuts to device" mode. It's in the Hardware > Keyboard submenu.

同时按向左和向右 Cmd 键将退出键盘捕获模式并重新启用菜单快捷键.

Pressing both Left and Right Cmd keys at the same time will exit keyboard capturing mode and re-enable menu shortcuts.

这篇关于Mac键盘快捷键在iOS Simulator上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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