&tag(UIView);
*目次 [#l81aad26]
#contents
*参考情報 [#y1864817]


*Tips [#nfd61366]
**convertRectって何? [#u954e482]
-[[ios - Understand convertRect:toView:, convertRect:FromView:, convertPoint:toView: and convertPoint:fromView: methods - Stack Overflow:http://stackoverflow.com/questions/8465659/understand-convertrecttoview-convertrectfromview-convertpointtoview-and]]にある以下のコードが分かりやすい。
 CGPoint originInSuperview = [superview convertPoint:CGPointZero fromView:subview];
-subviewにおける(0, 0)は、superviewにおける、subviewの原点の位置、例えば(10, 20)とかになる。

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS