Closed fvisticot closed 10 years ago
support native blur Visual effect provided by iOS8
UIVisualEffect *blurEffect; blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]; UIVisualEffectView *visualEffectView; visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect]; visualEffectView.frame = imageView.bounds; [imageView addSubview:visualEffectView];
Thank you for your suggest, but UIVisualEffect, doesn't allow to set a blur radius. Cheers!
UIVisualEffect
support native blur Visual effect provided by iOS8