【发布时间】:2013-05-31 00:52:34
【问题描述】:
我在我的 iPad 应用中显示了一个弹出框控制器:
[self.programMapPopOver presentPopoverFromRect:anchor.frame
inView:anchor.superview
permittedArrowDirections:UIPopoverArrowDirectionAny
animated:YES];
我的问题是锚点:我想设置一个 UIBarButtonItem* 作为它的锚点,但它不是 UIView*,但 inView 是一个 view* 参数。
我该如何解决这个问题?
谢谢大家!
【问题讨论】:
标签: ios ipad uibarbuttonitem popover