There is a TextView
that has NSLayoutConstraint (textViewHeight)
, the multiplier
value is 0.3
, when you click on this TextView
, the multiplier
value should increase to 0.6
.
I'm trying to write _textViewHeight.multiplier = 0.6
, but Xcode swears that the mutiplier
field is readonly
and cannot be changed.
On the forums it is advised to create a second Constraint
with a different value and switch between two Constraint
with different values. But how to do that?