Hi @unboxme
First, very thanks for your work to research about _UICustomBlurEffect and iOS 14 workaround!
while using Blurberry, I found blured view is little whitey even if blur radius is 0.0 and tintColor is set to .clear
That is caused using .light style for base effect in this line https://github.com/unboxme/Blurberry/blob/0.1.0/Sources/Views/VisualEffectView+Internal.swift#L79
I try to change to simple init like this base.effect = UIBlurEffect()
then truely same color when blur radius is 0.
And, this is also for no longer need set tintColor to .clear for removing whitey purpose.
This is screenshot of before and after. (under the black border is UIVisualEffectView)
before (using .light) |
after (using .init()) |
 |
 |
Refs:
tested project: https://github.com/r-plus/BlurberryTest
Hi @unboxme
First, very thanks for your work to research about _UICustomBlurEffect and iOS 14 workaround!
while using Blurberry, I found blured view is little whitey even if blur radius is
0.0and tintColor is set to.clearThat is caused using
.lightstyle for base effect in this line https://github.com/unboxme/Blurberry/blob/0.1.0/Sources/Views/VisualEffectView+Internal.swift#L79I try to change to simple init like this
base.effect = UIBlurEffect()then truely same color when blur radius is 0.
And, this is also for no longer need set tintColor to
.clearfor removing whitey purpose.This is screenshot of before and after. (under the black border is UIVisualEffectView)
.light).init())Refs:
tested project: https://github.com/r-plus/BlurberryTest