XCode Simulator:如何更改其快捷方式? [英] XCode Simulator: how to change its shortcuts?

查看:83
本文介绍了XCode Simulator:如何更改其快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在XCode中运行模拟器时,默认的旋转快捷方式为Cmd + Left和Cmd + Right.

When the simulator in XCode is running, the default shortcuts for rotation are Cmd+Left and Cmd+Right.

有什么办法可以改变它们?例如,将其更改为Ctrl + Left& Ctrl + Right?

Is there any way to change them? For example, change them to Ctrl+Left & Ctrl+Right?

推荐答案

我能够通过执行以下操作来更改Simulator的快捷方式:

I was able to change Simulator shortcuts by doing the following:

  1. 打开模拟器
  2. 右键单击任务栏中的图标
  3. 选择选项>在Finder中显示
  4. 将Simulator.app复制到您的/Applications目录

在这一点上,您将无法从/Applications目录运行Simulator.app,但是可以,我们将在此处使用它来设置快捷方式.为此,请按照您将要更改任何其他应用程序快捷方式的步骤进行操作:

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:

  1. 系统偏好设置>键盘>快捷方式
  2. 应用程序快捷方式>添加[+]
  3. 从列表中选择Simulator.app(除非我们已经完成上述步骤,否则不会显示.)
  4. 菜单项和快捷方式的确切名称.
  5. 添加

现在,继续从/Applications中删除Simulator.app.快捷方式仍然可以更改,并且此应用将从现在开始列出.

Now go ahead and delete Simulator.app from /Applications. The shortcut will still be changeable and the app will be listed from now on.

这篇关于XCode Simulator:如何更改其快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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