Skip to content
A demo of the private blur APIs in iOS 7
Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CKBlurView.h
CKBlurView.m
LICENSE
README.md

README.md

CKBlurView

This UIView subclass demonstrates how Apple does realtime blurring in iOS 7. This class uses private APIs and thus should not be used in production.

Here is how it works:

  • The view is backed by a CABackdropLayer, which takes its contents from the layers behind it. This class is new to iOS 7.
  • A Gaussian blur CAFilter is applied to the view's layer. This filter has existed since iOS 3. The only recent addition is the ability to degrade the quality of the blur (scale down the layer content before blurring), to increase performance.
  • This implementation is very minimal, so it does not include additional color filters as Apple's implementation does.

License

CKBlurView is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.