在图像视图中模糊图像在背景iOS
答
在iOS中8,您可以使用UIVisualEffect模糊的观点
UIVisualEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight];// explore other effects too
UIVisualEffectView *visualEffectView =[[UIVisualEffectView alloc] initWithEffect:blurEffect];
visualEffectView.frame = YOURFRAME; // set frame
[visualEffectView setAlpha:1.0];// set as you like
[YOURVIEW addSubview:visualEffectView]; //add on your view where you want
确实[这太问题(http://stackoverflow.com/questions/18959411/controlling-the-screenshot-in- -ios-7-multitasking-switcher)有帮助吗? – David 2015-03-31 12:39:44
谢谢,但我希望完全模糊的图像为那个视图 – Mansur 2015-03-31 12:52:34
你有什么更多信息或草图你问?这将有助于获得答案。 – David 2015-03-31 13:00:25