- Simple approach to apply blur effect to UIView or it's sublasses.
Demo |
---|
Light | Extra Light | Dark |
---|---|---|
- Tap here to see case using Blur with parallax header view - https://github.com/romansorochak/ParallaxHeader
- iOS 8.0+
- Swift 3.0+
All logic is in UIView+Blur.swift file. Just copy this file to your project.
You can call blurView property on any UIView or it's subclass.
imageView.blurView.setup(style: UIBlurEffectStyle.light, alpha: 0.9).enable()
Roman Sorochak - iOS developer - roman.sorochak@gmail.com
Blur is released under the MIT license. See LICENSE for details.