How do you get the current angle/rotation/radian a UIView has?
Swift:
// Note the type reference as Swift is now string Strict let radians:Double = atan2( Double(yourView.transform.b), Double(yourView.transform.a)) let degrees:CGFloat = radians * (CGFloat(180) / CGFloat(M_PI) )