1 [[[UIApplication sharedApplication] keyWindow] addSubview:yourView]; 2 3 UIControl *overView = (UIControl *)[[[UIApplication sharedApplication] keyWindow] viewWithTag:10086]; 4 [overView removeFromSuperview];
转载于:https://www.cnblogs.com/VincentXue/archive/2012/10/06/2713060.html