Okay I'm probably missing something. This was a fairly simple operation in Xcode 6, but I can't seem to find the same option in Xcode 7.
Consider this layout:
I want a vertical spacing constraint between Label 1 and Label 3. In Xcode 6, I can just multi select Label 1 and Label 3, go to Editor -> Pin -> Vertical Spacing. That Pin option, however, is no longer in Xcode 7. I can set vertical spacing between nearest elements, but not elements of my choice.
Does anyone know if that Vertical Spacing option was just re-arranged to another tab? Or if it's gone?
(I can probably do this programmatically, but I just want to know if there's a way to do it via Storyboard)
Vertical spacing to top layout guide This constraint means space from top of your view to the top layout guide of parent view. Now top layout guide is a margin that parent view takes up by default which is 20 points in height. These 20 points are taken so that your view does not overlap the status bar.
Discussion. A stack view uses this property to define the minimum distance between views within a gravity area and between neighboring views in adjacent gravity areas. The default value for the spacing property is 8. 0 points.
You can ctrl drag the 3rd label to the first label and release ctrl and select vertical spacing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With