iOS Storyboard, layout shifts awkwardly between 4.0 inch screen size and 3.5 inch screen size
autolayout, ios, storyboard
Solution
Autolayout did a HUGE step forward from Xcode 4.x to 5.0. One of the things were Apple listened to the developers was: auto-layout now per default does NOT create any auto-constraints, anymore. This means: you have a full static layout (with abolsolute coordinates) while you pull in all your controls (and you can at any timepoint remove all contraints later easily, to get back to that state.). The suggested workflow is to add contraints one-by-one from then on. Which leads to full controll on the developers side at any state.
That said. My suggestion for you is: turn auto-layout ON. Then place all your controls to a static position on the 3.5 screen. If you dont want to support portrait/landscape or iPhone/iPad, then simply do NOT add any constraints. And you are done, because a static layout that fits on a 3.5 screeen should also work on a 4.0 screen.
Once you want to support iPad or landscape modes with the same scene, add constraints one by one. It really works. Auto-layout is your friend now (starting with Xcode 5). Believe me.
Problem
I am having trouble with app screen sizes. I turned off auto-layout so that it wouldn't mess up the elements on the screens. But now when I try to create a simple screen like this for a 3.5 inch screen: But then when I see the same layout in a 4-inch screen it looks all messed up with the spacing like this: I don't understand what I am doing wrong here. How can I create a screen that would look the same on a 3.5 inch and a 4.0 inch screen? Thank you!