iOS:让UIView覆盖导航栏
当我们想做一个弹出式菜单时,想将导航栏也一起盖住不显示的话,可以用如下语句实现:
UIView* myView = /* 你自定义的view */;
UIWindow* currentWindow = [UIApplication sharedApplication].keyWindow;
[currentWindow addSubview:myView];
转载:
http://www.cnblogs.com/ilovewindy/p/3899143.html