[quote=254262:@Jim Smith]I need some guidance for setting up views. It’s driving me crazy.
Have a view with 9 labels, 1 button, 28 fields and 1 image. I just added a label and several of the fields enlarged them self from the left side of the layout to five or six inches off the right side of the layout; and several field moved (disappeared) off the layout.
There got be to a better way to do this. Any advice would be appreciated.[/quote]
With such a number of controls, the way I would do it is first, to draw the desired layout on paper. Or even do it in a desktop program with a 640 x 960 window. So that gives you the values relative to the window.
If you want a static display, like in Desktop, set for each control the values of Top and Left relative to Parent Top and Parent Left, assign width and Height. That is probably the easiest in a first step.
Auto Layout is not irrelevant, though, at the condition to prepare it carefully. Let us say you have four columns of fields. You can very well make the first left 3% of parent.width, then each field width 21% of parent width, then the distance between fields 3% again.
Such a setting will show fields evenly spaced in portrait as well as landscape, 640 or 960 wide.
The trick is indeed to work on the map first, then determine the relationship between controls, then spend enough time in the Auto Layout constraints for each control.
I do not hate Auto Layout, but have to admit that it is kind of difficult to jump from Desktop to iOS because the editor assumes too much for its own good.
Also, I have to admit I cannot quite imagine a tiny phone screen with so many controls on it. Heck, even a tablet. Are you sure you cannot break that into several views ?