Reputation: 1366
Given a viewController's view, self.view, and a subview referenced as self.Toolbar.contentView.rightButton, how to get the coordinates of rightButton in self.view's coordinate system?
Upvotes: 0
Views: 118
Reputation: 9825
[self.view convertRect:self.Toolbar.contentView.rightButton.frame fromView:self.Toolbar.contentView]
Upvotes: 1