Answer the question
In order to leave comments, you need to log in
How to deal with auto layout in xcode6?
Is it possible in a storyboard, when collecting a 5.5-inch view controller (pictures and buttons are large), to set it up so that the autolayout itself reduces the screen elements in proportion to the size of these screens for smaller screen sizes?
Answer the question
In order to leave comments, you need to log in
Now it is very fashionable for designers to make layouts for the iPhone 6 Plus, i.e. for the largest possible screen size. Looks great in presentations and other marketing materials.
But for layout, you need a design for the iPhone 5/5S at least, and preferably also for the iPhone 4S. And "assembling a view controller in a storyboard" is also better under 3.5-4", and not under 5.5".
I myself am fluent in these matters, but you can
propor. First, tie the element to the edges, and then check the Aspect Ratio checkbox (do not touch Width, height)
It is possible in different ways
It is possible, as they wrote above, aspect ratio
You can simply nail the object to the edges, and set its GreatOrEqual width/height to some minimum value.
You can also bind the width / height of the view to the width and height of the parent view, but with a fractional multiplier (0.5 there)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question