I'd like to present a Popover such that the arrow points a specific row selected in a tableview. The tableview is presented in popover, as it's the root view of a split view. I've attached a picture showing the interesting part of the upper left corner of the screen when it's in portrait mode. (I took that screen capture when stopped in the debugger in the tableView:didSelectRowAtIndexPath: method)

What I'd like to have happen is the arrow of a new popover point at the vertical center of that row. I get the rectangle for the row using rectForRowAtIndexPath: and based on this screenshot I'm getting the correct rectangle (based on the orange wireframe rectangle - I wrote a little UIView subclass that draws that content based on it's frame, and I added an instance of that class as a subview to the tableview using the rectForRowAtIndexPath result as it's frame). For sake of discussion, that orange rectangle is {{0, 256}, {320, 46}}, and it's clearly in the coordinate system of the tableView

The problem is that I can't seem to manage to translate that rectangle into the coordinate system of the detail view (i.e., the map in the background). I've tried using this code:
but that provides an identity transformation, and hence I'm asking for a little help - how can I get that rectangle into the coordinate system of the detail view?

What I'd like to have happen is the arrow of a new popover point at the vertical center of that row. I get the rectangle for the row using rectForRowAtIndexPath: and based on this screenshot I'm getting the correct rectangle (based on the orange wireframe rectangle - I wrote a little UIView subclass that draws that content based on it's frame, and I added an instance of that class as a subview to the tableview using the rectForRowAtIndexPath result as it's frame). For sake of discussion, that orange rectangle is {{0, 256}, {320, 46}}, and it's clearly in the coordinate system of the tableView

The problem is that I can't seem to manage to translate that rectangle into the coordinate system of the detail view (i.e., the map in the background). I've tried using this code:
Code:
CGRect cellRect = [tableView rectForRowAtIndexPath:indexPath];
CGRect cellRectInWindow = [tableView.window convertRect:cellRect toWindow:self.detailView.view.window];