Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はもっとCGAffineTransformをやっています。
現在のUiviewの角度を取得する方法は?
angle == [M_PI / 2〜M_PI]のときに何かしたいですか?
CGFloat radians = atan2f(self.view.transform.b, self.view.transform.a); CGFloat degrees = radians * (180 / M_PI);
UIViewの.transfromプロパティでそのことを確認できます。