-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is not working in iOS 14 #25
Comments
Could you be more specific? I have the same issue, recompiling project in IOS14. The blur on view is missing, _UIVisualEffectBackdropView doesn't react on changes, applied to it |
@bachvanthe1994 yes if you add latest changes and change below code like this it will work func setValue( value: T, forKey key: Key) { @shkipan self.effect = blurEffect remove _UIVisualEffectSubview and you see black and white in iOS 14 |
@MehmetDenizYalcin, solved, adding UIBlurEffect and removing last subview from subviews helped |
Thank bro, that worked. But I hope the owner of the respository will commit a new release. I don't want to change the source in pod folder because it is not stability |
Hey guys, was wondering if any of you could potentially help me please as ive been stuck on this issue for a while. I cant seem the blur effect to work on iOS14 devices, it works fine on iOS13 though.
Is anyone please able to help me fix this? Thanks. |
Check my comment, it is the first one. |
Oh right, thank you, but please can you tell me where to add this setValue function? UPDATE: I Should have mentioned that im not using this VisualEffectView Pod Library, instead im using just the default apple implementation |
it is working if you add this
func setValue( value: T, forKey key: Key) {
blurEffect.setValue(value, forKeyPath: key.rawValue)
if #available(iOS 14, *) { } else {
self.effect = blurEffect
}
}
The text was updated successfully, but these errors were encountered: