In my contrived example, I have the following single view:
As you can
For me the best way for animate Swift 3 & 4
self.constraint.constant = -150 UIView.animate(withDuration: 0.45) { [weak self] in self?.view.layoutIfNeeded() }