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).
精彩评论