开发者

Show a Popovercontroller from within a TableViewCell?

It doesn't seem to work setting the "inView:" attr开发者_如何学Pythonibute of "presentPopoverFromRect" to the cell itself.


If the inView: is the cell, be sure to set the FromRect to cell.bounds instead of cell.frame.

The cell's frame is relative to its super view and not the cell itself. Also, the popover is shown next to the specified CGRect (not in).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜