How to set constrains for different screens in Xcode version 4.6?

I am beginner in iOS app development. I have created two controllers in our view. My problem is whenever I change the orientation of device, then both the controllers will moves in different locations. So, as a result my app design is not looking good as I was designed it.


I am using Xcode version 4.6. I google it and found that if I set the controllers constaints for different screens then my problem will be solve, but I am unable to solve the problem because I am using older version of Xcode and the solutions I found are for higher versions. Is any one there who can help me to solve the issue.


Please tell me how to set the controllers contraints which will works on different mobile screens?

Last updated:4/4/2016 2:05:45 AM

0 Answers