I need to show a UIActionSheet on a popover and this popover has an arrow pointing to an element on Cocos2D.
I need to calculate this element’s boundingBox rect in terms of the director view coordinates where the UIActionSheet will be shown, so the action sheet arrow will be pointing to it.
How do I do that?
This is a quick sample I created, Just change the UIPopoverController to your UIActionSheet.