如何使用特定点上的箭头显示准备好的弹出式菜单(TableView里面)?基本上,我有一个CGPoint screenPointContainer,我想在那里展示我的popover。没有矩形,没有按钮。 只是一个点。CGPoint中的弹出式菜单
detailsPop.popoverContentSize = CGSizeMake(250, 300);
CGRect myrect = CGRectMake(screenPointContainer.x, screenPointContainer.y, ??, ??);
[detailsPop presentPopoverFromRect:myrect inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
在这种情况下,弹出窗口会产生比实际点击高的点。 – Razp 2011-03-24 12:58:14