swift - How to adjust multiple rows of labels in Xcode so that they occupy around 70 % of screen height? -
I'm trying to create an app whose only picture is a visualized scene. At the top are a title and the result of the lower part of the scene are labels, they are closed up and down and at the center, there is no problem.
Now this is a difficult part. I have 9 lines of labels, the most single line, but some are spread over two lines, I want to spread them equally between the title and the result label.
I lock the top-left first label, lock the leading edges, and then determine the decrease of the same vertical distance between the labels. Otherwise it is okay, but the final labels on the 3.5 inch display eliminate my results-label.
So I adjust the fontes or reduce the vertical distance between the labels or the problem of both 3.5 inches is fixed, but now there is a big empty gap between the final label and the result. On iPhone 6, this is very ugly.
I have tried all kinds of methods, but it just can not work.
So basically: How do I tell Xcode to use the remaining 70% (and all of this) for 10% top and bottom, 20% and 9 rows of labels?
Thanks for the help!
An image posted but there are no ranks for such things ...
Create UIView to insert between each label, set them to equal widths or heights and anchor each one of the ideas that sit among you.
I found this idea with another question:
Comments
Post a Comment