Storyboard Zoom In/Out Keyboard Shortcut
Asked Answered
P

10

45

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

Pelagic answered 3/10, 2012 at 6:53 Comment(0)
M
58

Try this

Zoom Out = shift+command+alt+{

Zoom In = shift+command+alt+}

This worked for me!

Melodize answered 23/11, 2012 at 0:2 Comment(5)
This is just ridiculous. Standard zoom on any other app is command++/- which isn't used in Xcode. I swear, Apple wants to give me carpal tunnel.Beamer
If only there was some way to change it... Seriously, though, they're bound in the doc editor. But, it's pretty easy to change hotkeys.Espy
@JonnyRamos xcode is ridiculous in general. By default, Tab doesn't indent selected blocks of code? What developer thinks "Hey, I want to replace this entire block of code with a tab character"? Line numbers aren't enabled by default either.Hathaway
@JonnyRamos after long time they heard you. From Xcode version 7.0.1 it is Command Key with + OR -Approximation
Doesn't work for me. Double click on empty screen is zooming out and in. Dont know how to zoomin furtherConstance
N
61

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.

Northwestward answered 12/6, 2014 at 9:38 Comment(2)
You saved my fingers!Superincumbent
right click with mouse on empty area brings further options! Thanks for letting me find "zoom" again.Albemarle
M
58

Try this

Zoom Out = shift+command+alt+{

Zoom In = shift+command+alt+}

This worked for me!

Melodize answered 23/11, 2012 at 0:2 Comment(5)
This is just ridiculous. Standard zoom on any other app is command++/- which isn't used in Xcode. I swear, Apple wants to give me carpal tunnel.Beamer
If only there was some way to change it... Seriously, though, they're bound in the doc editor. But, it's pretty easy to change hotkeys.Espy
@JonnyRamos xcode is ridiculous in general. By default, Tab doesn't indent selected blocks of code? What developer thinks "Hey, I want to replace this entire block of code with a tab character"? Line numbers aren't enabled by default either.Hathaway
@JonnyRamos after long time they heard you. From Xcode version 7.0.1 it is Command Key with + OR -Approximation
Doesn't work for me. Double click on empty screen is zooming out and in. Dont know how to zoomin furtherConstance
Z
8

From Mouse or Trackpad -> Right Click will show you options. Hope this will helpenter image description here

Zachariah answered 7/1, 2016 at 12:31 Comment(0)
D
5

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 }

Darby answered 15/1, 2013 at 19:25 Comment(0)
S
5

Go to

System preferences >> Keyboard >> Shortcuts

Select App Shortcuts Click on Plus icon (+)

Custom Zoom in and zoom out shortcuts

Manually add keyboard shortcut

Sodomite answered 18/2, 2019 at 18:12 Comment(0)
S
2

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

  • Zooming out : cmd (⌘) + -
  • Zooming In : cmd (⌘) + +
  • Normal (100%) : cmd (⌘) + ctrl (^) + =
Stator answered 3/2, 2016 at 11:33 Comment(0)
P
2

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

Persecute answered 12/4, 2016 at 20:26 Comment(0)
T
0

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!

Tempestuous answered 7/3, 2014 at 6:8 Comment(0)
O
0

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"

Obryan answered 26/7, 2018 at 1:53 Comment(0)
B
0

In turkish keyboard cmd + : (zoom in) cmd + - (zoom out)

Bridgers answered 29/1, 2023 at 18:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.