Skip to content

Instantly share code, notes, and snippets.

@HiromichiYamada
Created May 19, 2014 13:10
Show Gist options
  • Save HiromichiYamada/c595406804488273aec5 to your computer and use it in GitHub Desktop.
Save HiromichiYamada/c595406804488273aec5 to your computer and use it in GitHub Desktop.
UIViewのconvertRect:toView:に関するメモ ref: http://qiita.com/octi/items/5feee79492c8776c3761
CGRect frame = [viewA convertRect:viewB.frame toView:viewA];
CGRect frame = [viewB.superview convertRect:viewB.frame toView:viewB.superview];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment