In Interface Builder, you have constraints that tell the app how to re-draw the screen when the device is rotated.
Is there a way to set those programmatically?
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.
You need to set
autoresizingMaskof view.It Specifies how a view is automatically resized. (This is what you set in
Interface Builder.)