代码如下:
letblur =UIBlurEffect(style:UIBlurEffectStyle.Dark)
leteffecview =UIVisualEffectView(effect: blur)
effecview.frame=CGRectMake(0,0,SCREENWIDTH,SCREENHEIGHT)
self.view.addSubview(effecview)
代码如下:
letblur =UIBlurEffect(style:UIBlurEffectStyle.Dark)
leteffecview =UIVisualEffectView(effect: blur)
effecview.frame=CGRectMake(0,0,SCREENWIDTH,SCREENHEIGHT)
self.view.addSubview(effecview)