How to change the Height of a UIScrollVIew using only InterfaceBuilder ?
Changing the height field in Show the Size inspector doesn’t work
I am using xCode 4.3.1
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are looking to change the height of the scrollView, you need to adjust its frame. You can do this as simply as saying
You obviously need to fill in the values of x, y, width, and height. If you are looking to do it in Interface Builder, open the nib that contains your scroll view. In the Utilities section (the right-most section), click the Size Inspector (the ruler icon). Select your scroll view, and under the “View” section, you can adjust the height.
If you’re looking for a way to adjust the height at run time through interface builder, there is no way. Interface Builder allows you to adjust what your view looks like when it is unloaded from its corresponding nib file. Once that file is unloaded, you would need to make changes to its frame programmatically.