Khalil Khalaf
Khalil Khalaf

Reputation: 9407

How to change the keyboard shortcut of Shake/Shake Gesture?

I updated Xcode to 9.0 and now ⌘R no longer works in the iOS simulator to reload the application, and ⌘D no longer opens the Developer Menu.

The new shortcut for the Developer Menu is ^⌘Z, and there is no shortcut to reload the application anymore.

Is there any way that I can change the shortcut of the Shake Gesture from ^⌘Z and get it back to ⌘D?

Hardware Settings for iOS Simulator - changed shortcuts

Upvotes: 1

Views: 1967

Answers (1)

glyvox
glyvox

Reputation: 58069

  1. Navigate to System Preferences.app/Keyboard/Shortcuts.

Shortcuts settings

  1. Select App Shortcuts from the menu on the right and click on the plus sign (+).

App Shortcuts option

  1. Select Simulator as the application from the drop-down list.

  2. Enter Shake (Xcode 11 and above) or Shake Gesture (Xcode 10 and earlier) for the menu title and press ⌘D while the Keyboard Shortcut menu is in focus.

  3. Click on Add to save changes.

Shake Gesture as custom shortcut

Upvotes: 3

Related Questions