Sean B
Sean B

Reputation: 41

Change the size of a view controller on the storyboard?

How can I change the size of a view controller in an Xcode Storyboard for editing purposes?

I have a bunch of elements in my storyboard and it would be much easier if I could make it bigger. I'm used to Photoshop and other graphical programs that let you increase the size to a more usable one.

I can zoom it out to 100%, but I'd really like the size to be twice as big.

Please note, I want to change the VIEWING size on View controller, NOT the actual size (Simulated Metrics, etc.)

PS. Yes, I know I can use accessibility settings and make my entire desktop larger, but that's a cheap fix to the problem.

Upvotes: 4

Views: 8191

Answers (1)

Ohmy
Ohmy

Reputation: 2221

First click on View controller and select Size Inspector tab, in Simulated size select freeform and change the width and height.

enter image description here

I see you comment above about not wanting the above suggestion I posted (simulated>freeform). Do you mean 'use size classes' ? Size classes allows you to change to different iPhone or iPad sizes during your design to fit what you need. See picture below

enter image description here

enter image description here

Upvotes: 5

Related Questions