//获取最上层view
var topView:UIView = UIView()
let views:Array = UIApplication.sharedApplication().windows
topView = views.first! as UIView
//获取最上层view
var topView:UIView = UIView()
let views:Array = UIApplication.sharedApplication().windows
topView = views.first! as UIView
本文标题:获得window最上层视图
本文链接:https://www.haomeiwen.com/subject/yzajhttx.html
网友评论