Storyboard Zoom In/Out Keyboard Shortcut

2020-05-18 04:28发布

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

标签: xcode4
9条回答
在下西门庆
2楼-- · 2020-05-18 05:02

Try this

Zoom Out = shift+command+alt+{

Zoom In = shift+command+alt+}

This worked for me!

查看更多
We Are One
3楼-- · 2020-05-18 05:04

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!

查看更多
放我归山
4楼-- · 2020-05-18 05:05

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楼-- · 2020-05-18 05:05

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"

查看更多
够拽才男人
6楼-- · 2020-05-18 05:14

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

查看更多
老娘就宠你
7楼-- · 2020-05-18 05:16

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.

查看更多
登录 后发表回答