Skip to content

Instantly share code, notes, and snippets.

@tonycn
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save tonycn/f87292bf24723376c7b2 to your computer and use it in GitHub Desktop.

Select an option

Save tonycn/f87292bf24723376c7b2 to your computer and use it in GitHub Desktop.
iOS glass blur effect
View Layout
* Layer 1: Underlying view which will be taken snapshot
* Layer 2: FXBlurView and a mask view
* Layer 3: Content view
Example:
+ view (Root View Controller)
- FXBlurView (glass effect view)
- mask view (translucent view : usally black with alpha)
- content view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment