When the simulator in XCode is running, the default shortcuts for rotation are Cmd+Left and Cmd+Right.
Is there any way to change them? For example, change them to Ctrl+Left & Ctrl+Right?
You can add shortcuts using Xcode > Preferences > Key Bindings. Search for the command-name using the field at the top-right, then double click in the key field and type the key you want to use.
Editor menu > Structure > Move Line Downcommand + option + [ or ] to move a line of code up and down.
I was able to change Simulator shortcuts by doing the following:
At this point, you won't be able to run Simulator.app from the /Applications directory, but that's ok, we're just going to use it there for setting the shortcut(s). To do that, follow the steps you would to change any other app's shortcuts:
Now go ahead and delete Simulator.app from /Applications. The shortcut will still be changeable and the app will be listed from now on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With