Hi,
I'm trying to place a UIPopoverController
to display when a UIButton
is tapped. However, the UIButton
is placed within a UIScrollView
and so its frame is offset by the scroll amount.
Is there an easy way of finding out a view's frame as it appears in the context of the screen? Or do I just need to do a subtraction between the UIButton
frame and the contentOffset
of the UIScrollView
?
Thanks!