Category "nslayoutconstraint"

iOS constraints doesn't allow to use multiplier

I am trying to layout some custom views and when I try to activate the constraints, Xcode says that I can't use multiplier. Here is an example of the code: cla

Can I change multiplier property for NSLayoutConstraint?

I created two views in one superview, and then added constraints between views: _indicatorConstrainWidth = [NSLayoutConstraint constraintWithItem:self.view1 at

Constraint "equal heights" for views of different sizes in iOS?

I saw a lot of similar questions but they are all for situations with equal views. In my case I have a vertical stack of views: And they should keep proportio