4 ms·
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.
by Charybdis 11y 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];