I\'m trying to animate a rotation of 180 degrees of a UIImageView in Swift
UIImageView
UIView.animateWithDuration(1.0, animations: { () -> Void in
Try calling arrowImageView.layoutSubviews(), see below:
UIView.animateWithDuration(1.0, animations: { () -> Void in self.arrowImageView.transform = CGAffineTransformMakeRotation(CGFloat(180 * M_PI)) self.arrowImageView.layoutSubviews() }) { (succeed) -> Void in }