ios开发中在当前窗口上加载视图的方法

1 [[[UIApplication sharedApplication] keyWindow] addSubview:yourView];

2 

3 UIControl *overView = (UIControl *)[[[UIApplication sharedApplication] keyWindow] viewWithTag:10086];

4                          [overView removeFromSuperview];

你可能感兴趣的:(ios开发)