I am using XCode with Storyboards to develop an iOS app. I've run out of space in one of my Scenes. Is there a way to add more space to the scene?
Asked
Active
Viewed 298 times
1
-
I mean the scene is out of space. So the particular UIView I'm adding components to has no more space to add components too, such as a UITextField. – Max Aug 26 '15 at 18:44
-
do you use size class? – Vig Aug 26 '15 at 18:46
-
I don't use size classes. – Max Aug 26 '15 at 18:47
-
http://stackoverflow.com/questions/9728952/resize-of-uiviewcontroller-in-storyboard – Vig Aug 26 '15 at 18:47
-
Sorry, I'm new to iOS development. I am using size classes, but the width and height are currently set to 'Any' – Max Aug 26 '15 at 18:59
-
That's fine, but if you need to change the size of a particular UIViewController, then you can do that by selecting the scene and changing the properties on Attributes Inspector – Vig Aug 26 '15 at 19:00
-
The size and width boxes are grayed out. – Max Aug 26 '15 at 19:05
-
http://i.stack.imgur.com/cuSTl.png you have to make sure you make the vc as freeform based on the image – Vig Aug 26 '15 at 19:13
-
If I understand correctly, you should use scroll view: http://www.raywenderlich.com/76436/use-uiscrollview-scroll-zoom-content-swift – MCMatan Aug 26 '15 at 19:20
1 Answers
3
You have to make your view controller as freeform as found in this image https://i.stack.imgur.com/cuSTl.png
This will allow you to change your width and height.

Vig
- 1,532
- 1
- 12
- 28