标签: ios coordinates subview
给定viewController的视图,self.view和引用为self.Toolbar.contentView.rightButton的子视图,如何在self.view的坐标系中获取rightButton的坐标?
答案 0 :(得分:1)
[self.view convertRect:self.Toolbar.contentView.rightButton.frame fromView:self.Toolbar.contentView]