iphone - Get on screen coordinates of a certain UITableViewCell? -
So, I have this UITableView
. It's in an iPad application. Some cells have a helper Button is (small round arrows). When it is pressed, I present a popover view where the user can pick actions related to those table cells that he touched. By now, nothing is difficult or extraordinary.
But pop up view wants to know where it comes from, so that it can attract small arrows pointing at there. I would naturally like that arrow, which is related to popup in the table cell.
How can I find the current on screen coordinates for a fixed cell on the table, provided I know it's IndexPath?
Use the UITableView method -rightForRowAtIndexPath:
. Note that the table gives a text within the coordinate system of the view - if you need leak of any other view in the same window, use the UIView method -convertRect: fromView:
.
Comments
Post a Comment