I\'d like to set a constraint to give a UIButton a fixed (constant) width programmatically. I know I can do this with constraintsWithVisualFormat, but I\'ve been using constrain
How about using Layout Anchors?
myView.widthAnchor.constraintEqualToConstant(29).isActive = true