Xcode 6 how to enable storyboard zoom?

2019-03-08 12:14发布

I've updated to Xcode 6 beta 3 and see that the [+ = -] buttons in the storyboard corner are gone. Is there a way for me to zoom in and out on view controllers within a storyboard in Xcode 6?

8条回答
神经病院院长
2楼-- · 2019-03-08 12:49

In order to zoom in or zoom out using a mouse just hold alt (⌥) and scroll.

查看更多
迷人小祖宗
3楼-- · 2019-03-08 12:49

These keyboard shortcuts are working for me:

Zoom out:

⇧ ⌥ ⌘ {

Zoom in:

⇧ ⌥ ⌘ }

Your mileage may vary.

查看更多
可以哭但决不认输i
4楼-- · 2019-03-08 12:53

You can zoom the storyboard by double-click canvas or using top-menu(Editor > Canvas > Zoom).

Alternatively: Right click blank space on canvas and choose zoom level (allows to zoom out further than double click)

enter image description here

查看更多
乱世女痞
5楼-- · 2019-03-08 12:53

double cick is best for zooming IN and OUT... just do a DOUBLE CLICK in the story board in Xcode 6

查看更多
混吃等死
6楼-- · 2019-03-08 12:57

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

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

Right click on the empty area of your storyboard, a popup menu will be shown like below:

Menu

You can use this popup to zoom in/out the storyboard (or check the keyboard shortcuts shown in that).

查看更多
孤傲高冷的网名
7楼-- · 2019-03-08 13:04

In Xcode7.0 Beta zooming the View Controller window requires shortcut keys: command + '+' and command + '-'

You can also right click in the white space surrounding the view-controller (diagram) to get zoom menu options in a pop-up (Note: The Xcode App must have focus for this to work or you will NOT get the zoom pop-up).

查看更多
登录 后发表回答