Skip to content

Instantly share code, notes, and snippets.

@kos9kus
Created September 26, 2017 12:01
Show Gist options
  • Save kos9kus/1242632d0f949afc6bf776e8a82465d8 to your computer and use it in GitHub Desktop.
Save kos9kus/1242632d0f949afc6bf776e8a82465d8 to your computer and use it in GitHub Desktop.
UIVisualEffect
UIVisualEffect *blurEffect;
blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
UIVisualEffectView *visualEffectView;
visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect];
// visualEffectView - UIImageView
visualEffectView.frame = self.imageView.bounds;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment