A demo of the private blur APIs in iOS 7
Objective-C
Permalink
Failed to load latest commit information.
CKBlurView.h Initial commit Oct 26, 2013
CKBlurView.m Initial commit Oct 26, 2013
LICENSE Initial commit Oct 26, 2013
README.md Add clarification to README Oct 26, 2013

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.