I have a view which has dynamic height and I am trying to change this view height priority in run time.
Here is my part of code;
if (index == 0) {
Swift version:
myContraint.priority = UILayoutPriority(999.0)