Presenting a UIPopover from a DisclosureButton in a UITableViewCell
I'm trying to do something pretty simple, but I can't figure out how to anchor the popover to the DisclosureButton on a UITableViewCell. Can anyone help me with a simple example of how to use presentPopoverFromRect that will properly anchor to the accessoryView?
开发者_如何学CThanks!
Have you tried using UIView's - (CGRect)convertRect:(CGRect)rect toView:(UIView *)view to convert the accessoryView's rect?
精彩评论