let conX = … let conBottom = … let conWidth = … let conHeight = … NSLayoutConstraint.activate([conX, conBottom, conWidth, conHeight]) view.layoutIfNeeded() UIView.animate(withDuration: 0.5, delay: 0.0, usingSpringWithDamping: 0.5, initialSpringVelocity: 0.0, animations: { conBottom.constant = … conWidth.constant = … view.layoutIfNeeded() }, completion: nil )