I\'m trying to animate a rotation of 180 degrees of a UIImageView in Swift
UIImageView
UIView.animateWithDuration(1.0, animations: { () -> Void in
You left out the / 180 on CGFloat(180 * M_PI). Try:
/ 180
CGFloat(180 * M_PI)
UIView.animate(withDuration: 1.0) {[weak self] in self?.arrowImageView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) }