ios - how to define constraint for equal width & height with aspect ratio? -
i want add square in app height & width. height & width should vary screen size. same time should in center of screen.
please tell me constraint should use?
i have sued equal height(0.7 multiplier), equal width(0.5) multiplier & aspect ratio & have aligned view in center. error conflicting constraints.
please suggest how it?
Comments
Post a Comment