1 [[[UIApplication sharedApplication] keyWindow] addSubview:yourView]; 2 3 UIControl *overView = (UIControl *)[[[UIApplication sharedApplication] keyWindow] viewWithTag:10086]; 4 [overView removeFromSuperview];