Created
May 19, 2014 13:10
-
-
Save HiromichiYamada/c595406804488273aec5 to your computer and use it in GitHub Desktop.
UIViewのconvertRect:toView:に関するメモ ref: http://qiita.com/octi/items/5feee79492c8776c3761
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CGRect frame = [viewA convertRect:viewB.frame toView:viewA]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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