DynamicBlurView is a dynamic and high performance UIView subclass for Blur.
DynamicBlurView is a dynamic and high performance UIView subclass for Blur.
Add the following to your Podfile
:
pod "DynamicBlurView"
Add the following to your Cartfile
:
github "KyoheiG3/DynamicBlurView"
Blur the whole
let blurView = DynamicBlurView(frame: view.bounds)
blurView.blurRadius = 10
view.addSubview(blurView)
Animation
UIView.animateWithDuration(0.5) {
blurView.blurRadius = 30
}
Ratio
blurView.blurRatio = 0.5
var blurRadius: CGFloat
var trackingMode: TrackingMode
Common
is constantly updated.Tracking
is only during scrolling update.None
is not update.var blendColor: UIColor?
var iterations: Int
var isDeepRendering: Bool
var blurRatio: CGFloat
var quality: CaptureQuality
func refresh()
func remove()
func animate()
Follow me 🎉
Under the MIT license. See LICENSE file for details.