Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 1st, 2012  |  syntax: None  |  size: 0.17 KB  |  hits: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. iOS Get Subview's Rotation
  2. - (float)currentAngleOfView:(UIView *)view
  3. {
  4.     CGAffineTransform transform = view.transform;
  5.     return atan2f(transform.b, transform.a);
  6. }