Storyboard Zoom In/Out Keyboard Shortcut

谁说胖子不能爱 提交于 2019-12-03 04:43:22

问题


What shortcut key combination can I use in Xcode to zoom in and out? Yes, I know this is a silly question but a Google search didn't give me any result. Even the Xcode keyboard shortcuts didn't give me much info. Maybe I must ask for a better updated keyboard shortcut doc for Xcode 4.5


回答1:


Try this

Zoom Out = shift+command+alt+{

Zoom In = shift+command+alt+}

This worked for me!




回答2:


You can also double click with mouse on empty area of storyboard. First time will zoom out, second time - zoom in. Sometimes it's easier than use difficult hotkey.




回答3:


From Mouse or Trackpad -> Right Click will show you options. Hope this will help




回答4:


Just figured this out -.- Make sure you're using a story board. Then you can go to editor -> canvas -> zoom Shortcuts are alt, command { and alt, command }




回答5:


In Xcode 7, the shortcuts have changed to the following:

  • Zooming out : cmd (⌘) + -
  • Zooming In : cmd (⌘) + +
  • Normal (100%) : cmd (⌘) + ctrl (^) + =



回答6:


If you have a trackpad you can also pinch to zoom in/out (but yeah, that's not a "keyboard shortcut" :)




回答7:


Go to

System preferences >> Keyboard >> Shortcuts

Select App Shortcuts Click on Plus icon (+)




回答8:


The accepted answer from Rohit works, but the menu option simply says Command+Alt+{ and Command+Alt+} on XCode 5, i.e. Alt is not necessary. Funny thing is other SO answers said zoom was NOT possible, maybe added in later Xcode 4x or 5?

Apple loves whitespace and wide margins, but if you have more than a few screens, zooming is absolutely essential even on 4k displays!




回答9:


If you have a trackpad, you can click on the storyboard and single tap with two fingers to get a menu of zoom options.

Note: if you don't have the tap with two finger gesture setup, you can go to System Preferences > Trackpad > Point & Click. Then change Secondary click to "Click or tap with two fingers"



来源:https://stackoverflow.com/questions/12703302/storyboard-zoom-in-out-keyboard-shortcut

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!