99

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?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
  • 4
    Wy have they removed it? I used it all of the time and I am really struggling now. – Recycled Steel Sep 17 '14 at 13:37
  • 2
    After day after, Apple makes harder to use this Xcode really. That simple process should be easy, i shouldn't press ⇧ ⌥ ⌘ { to zoom. ARGH APPLE! – Kemal Can Kaynak Oct 27 '14 at 09:54
  • You can always change the shortcut to something more convenient. – rOrlig Jan 02 '15 at 21:35
  • 1
    @gaurav: You shouldn't have to change the shortcuts, though. The default should be something reasonable. Customizing shortcuts should be for if someone has a really weirdly specific workflow they need, or if they're used to using a different program which had similar functionality. This keyboard shortcut seems like they came up with it by just picking 4 (why 4‽) random keys. – ArtOfWarfare Apr 04 '15 at 16:53
  • **Command+Alt+Shift+{** for zoom out OR **Command+Alt+Shift+}** for zoom in AND **Command+Alt+Shift+|** for 100%. – TheTiger Jul 21 '15 at 11:15

8 Answers8

190

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

Alex Stone
  • 46,408
  • 55
  • 231
  • 407
joyeon
  • 1,916
  • 1
  • 12
  • 4
27

If you have a magic trackpad (external or embedded in the macbook) you can also pinch to zoom... It sounds quite obvious, but I've just discovered it.

Stefano Mondino
  • 1,219
  • 11
  • 15
  • Yes it worked, but I've discovered it not before than a month ago after a video tutorial for unified storyboards I've watched. Amazing, but my Magic Mouse feels betrayed :) – Stefano Mondino Sep 24 '14 at 07:53
  • 5
    Since XCode 6.1 this pinch zoom is very slow. – Prine Oct 22 '14 at 13:57
  • 3
    @Prine - since XCode6.1, almost everything seems very slow. – Adam Jenkins Nov 14 '14 at 01:30
  • 2
    This is so dumb. You can use the trackpad to zoom to any level.. but then it'll snap to, say 100% or 50%. And STILL you can't select items on the Storyboard unless you're at 100%. I'm sorry.. what year is this again ? – Mike Gledhill Nov 26 '14 at 07:45
  • You're right. But I think it's worth to be pointed out that, while it's true that you can't SELECT items while zoomed out, you're still allowed to create segues and outlets from subviews of any view controller without zooming in. – Stefano Mondino Nov 26 '14 at 08:39
21

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

user4185461
  • 211
  • 2
  • 2
  • double click only changes between two zoom levels, while there are 4 available. Sometimes double click is not enough. – Alex Stone Dec 02 '14 at 19:13
14

These keyboard shortcuts are working for me:

Zoom out:

⇧ ⌥ ⌘ {

Zoom in:

⇧ ⌥ ⌘ }

Your mileage may vary.

Luca Davanzo
  • 21,000
  • 15
  • 120
  • 146
maml
  • 594
  • 3
  • 11
  • 1
    Hm, using the shift key seems to be required because the curly braces are the upper case option for that key, but because of MacOS' use of the shift key as a modifier to slow down animations, it seems to force the zoom to go in slow motion. Anyone have success with this without the shift key? (screenshot of latest xcode shows no shift character http://i.imgur.com/riIhsvg.png – shim Oct 19 '14 at 02:38
  • great shortcut, how to press all those keys together? – Brabbeldas Nov 06 '14 at 14:55
  • press 'shift + option + command + {' OR 'shift + option + command }' Sometimes the option key is also referred to as 'alt' – maml Nov 06 '14 at 18:46
  • to fix the slow zoom, just rebind your keybindings for canvas zoom. They default to `shift+option+command+[` and since the shift modifier slows the animations down, changing it to something like `command+[` will resolve the issue (note you may have keybinding conflicts you have to fix). The exact name of the keybinding is Zoom -> Zoom In (Editor Menu for Interface Builder). – taylorstine Feb 03 '15 at 19:54
7

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

0101
  • 2,697
  • 4
  • 26
  • 34
3

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).

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
2

Easiest way is to RIGHT CLICK on the canvas, and zooming options will pop up

SteBra
  • 4,188
  • 6
  • 37
  • 68
2

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).