I have a UIView
and I set the constraints using Xcode Interface Builder.
Now I need to update that UIView
instance's height constant programmatically.
There is a function that goes like myUIView.updateConstraints()
, but I don't know how to use it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…