title: Rotation works but without animation
body: <p>I am using this code to rotate a an image</p>
  
  <pre><code>UIView.animate(withDuration: 2.0, animations: {
                      self.myImageView.transform = CGAffineTransform(rotationAngle: (180.0 * CGFloat(Double.pi)) / 180.0)
              })
  </code></pre>
  
  <p>the image rotate but without any animation. Do you have an idea about the problem?</p>