how to get UIView 's angle after CGAffineTransform?
i have been do more CGAffineTransform.
how to get current Uiview's angle?
i want to d开发者_Python百科o something when angle==[M_PI/2 ~ M_PI]?
CGFloat radians = atan2f(self.view.transform.b, self.view.transform.a);
CGFloat degrees = radians * (180 / M_PI);
You can check .transfrom property of UIView for that.
精彩评论