Skip to content

Instantly share code, notes, and snippets.

@skwashua
Last active January 1, 2016 04:39
Show Gist options
  • Save skwashua/8093208 to your computer and use it in GitHub Desktop.
Save skwashua/8093208 to your computer and use it in GitHub Desktop.
iOS 7 "Frosted Glass" view with blur effect.
UIToolbar *blurringToolbar = [[UIToolbar alloc] initWithFrame:self.someView.bounds];
blurringToolbar.barStyle = UIBarStyleDefault;
blurringToolbar.translucent = YES;
blurringToolbar.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
[self.someView insertSubview:blurringToolbar atIndex:0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment