Got it. UIWindow working fine. The code:
// when drag starts draggingView = [[UIWindow alloc] initWithFrame:CGRectMake(0,0,100,100)]; draggingView.windowLevel = UIWindowLevelAlert; draggingView.center = [gestureRecognizer locationInView:self.view.window]; [draggingView makeKeyAndVisible]; // when drag ends [draggingView release]; draggingView = nil;
source share