Reputation: 372
As shown in the above picture, I am trying to create a scrollview in storyboard. everything works well and when I run the app, i can scroll through the view.
Problem is, during the storyboard design phase, i am unable to scroll down the view to the below part of the scroll view? any idea how to do that?
Thanks
Upvotes: 0
Views: 164
Reputation: 9503
Your can not scroll from the storyboard, for design purpose do following
From storyboard
NOTE: when your design is completed make sure now your VC is in fixed mode.
Upvotes: 1
Reputation: 395
My suggestion is to enlarge that controller by:
Once all the editing it done you can set the simulated size back to Fixed
In this way you are able to see the whole screen at once while designing the UI
Upvotes: 1
Reputation: 5957
Tap on the view, go the the attribute inspector and then change the y position to something negative, say -100, Do your UI changes accordingly and then again put the y value as 0.
Note : During the time you change it to negative, constraints are going to be orange, signifying that they are not correct. But once you put them back to 0, they are going to be fine.
Upvotes: 0