How to Blur effect apply on UIView in iOS?
问题 In my application i want to apply blur effect on uiview.So how can i achive blur effect. I tried by below code: UIGraphicsBeginImageContext(scrollview.bounds.size); [scrollview.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); //Blur the UIImage with a CIFilter CIImage *imageToBlur = [CIImage imageWithCGImage:viewImage.CGImage]; CIFilter *gaussianBlurFilter = [CIFilter filterWithName: @