我在我的 iPad 应用程序中显示了一个弹出框控制器:
[self.programMapPopOver presentPopoverFromRect:anchor.frame
inView:anchor.superview
permittedArrowDirections:UIPopoverArrowDirectionAny
animated:YES];
我的问题是锚点:我想将 UIBarButtonItem* 设置为其锚点,但它不是 UIView*,但 inView 是 view* 参数。
我该如何解决这个问题?
谢谢大家!