ios - Constraint "width equals height" in interface builder, for the same view: how to create such a constraint? -
ios - Constraint "width equals height" in interface builder, for the same view: how to create such a constraint? -
i want create constraint "width equals height" for same view (so, view square shaped). method given in this answer not work since not constraint between 2 different views.
is possible?
control + drag view itself, set aspect ratio 1:1.
ios osx interface-builder nslayoutconstraint
Comments
Post a Comment