Hacker News new | ask | show | jobs
by Charybdis 3880 days ago
Chances are, the window you want is the window the view is in (which is probably the same as your app's window), UIView has a handy property for that.

  [self.view convertPoint:apoint toView:self.view.window];