开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜