Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac keyboard shortcuts not working on 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.

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)...

enter image description here

I tried following but no success...

  • 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...

  • Restart Mac

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

like image 275
Ashok Avatar asked Oct 31 '17 21:10

Ashok


People also ask

Why are my Mac keyboard shortcuts not working?

Make sure you're using the latest version of the app. If the keyboard shortcut uses a function key, you may also need to press and hold the Fn key or the Globe key on the keyboard to perform the shortcut (depending on your Mac model, if you're using a Magic Keyboard, and how you set an option in Keyboard preferences).

How do I bring up the keyboard in iOS simulator?

Just press ⌘K it will toggle keyboard.

Why are my keyboard shortcuts not working iPhone?

Go to Settings and then General. Tap on the Reset > Reset All Settings. This should resolve your shortcut issue.

How do I get my keyboard shortcuts to work on my Mac?

To use a keyboard shortcut, press and hold one or more modifier keys and then press the last key of the shortcut. For example, to use Command-C (copy), press and hold the Command key, then the C key, then release both keys.


2 Answers

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

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

like image 184
russbishop Avatar answered Oct 11 '22 17:10

russbishop


You might have disabled(unchecked) "Connect hardware keyboard" option which is in the hardware/keyboard menu. Make sure its checked.

like image 27
Miti shah Avatar answered Oct 11 '22 16:10

Miti shah