草庐IT

CustomTopNotification

全部标签

ios - 如何检查我的应用程序窗口中是否已存在 View ?

classfuncshowNotificationWithTitleWarning(controller:UIViewController,title:String,subtitle:String){letsubtitle=subtitlevarisTrue:Bool=false//lethorizontalPadding:CGFloat=0.0letdeviceWidth:CGFloat=Device.DeviceWidth//letdeviceHeight:CGFloat=Device.DeviceHeightletheight:CGFloat=64.0letcontentFram