Hello Community I just want to animate an UIView exactly an UIButton. But it really don't work for me. 

```
 self.introConstraints.constant = self.view.frame.width
    self.view.needsUpdateConstraints()
    UIView.animateWithDuration(0.6){
        self.view.layoutIfNeeded()
    }

```

This is how my code looks like.