I want to change height of View2 on touch button1. UI made using autolayouts, without any storyboards, or XIBs.
How can I change it?
Keep a reference to the constraint and then update the constraint. The right way to do that is to call View.SetNeedsUpdateConstraints() and then override UpdateViewConstraints and change the constant of the relevant constraint from there.
Thanks! Will try.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies