📜  快速动画约束 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.049000             🧑  作者: Mango

代码示例3
self.nameInputConstraint.constant = 8

UIView.animate(withDuration: 0.5) {
    self.view.layoutIfNeeded()
}