【发布时间】:2011-03-02 05:15:48
【问题描述】:
我总是尝试以这种方式从 tableView 中的单元格呈现弹出框:
[myPopover presentPopoverFromRect:cell.frame inView:self.tableView permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
但我不能使用 UIPopoverArrowDirectionRight 或 Left,因为取决于位置 ipad(纵向或横向),弹出框出现在其他地方。
我是否以正确的方式呈现弹出框?
PS:table view在一个splitView的detailView中。
【问题讨论】:
-
如何实例化 myPopover?
标签: objective-c ipad uipopovercontroller popover