<pre>
UIView* myView = /* Your custom view /;
UIWindow currentWindow = [UIApplication sharedApplication].keyWindow;
[currentWindow addSubview:myView];
</pre>
参考链接:
Add a UIView above all, even the navigation bar
<pre>
UIView* myView = /* Your custom view /;
UIWindow currentWindow = [UIApplication sharedApplication].keyWindow;
[currentWindow addSubview:myView];
</pre>
参考链接:
Add a UIView above all, even the navigation bar
本文标题:在所有的视图上添加一个UIView包括navigation ba
本文链接:https://www.haomeiwen.com/subject/tuzkcttx.html
网友评论