You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@r-plus Thank you for using my library and sorry for the late reply.
Unfortunately this solution has a one limitation — after that you couldn't set tintColor. But there's a good news, that it fixes an over-saturated blur.
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#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
.clear
for 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
The text was updated successfully, but these errors were encountered: