开发者

Presenting a UIPopover from a DisclosureButton in a UITableViewCell

开发者 https://www.devze.com 2023-03-26 16:09 出处:网络
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 present

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

精彩评论

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