Open Mallenow opened 3 years ago
Bluuur is built on top of the private class _UICustomBlurEffect
which seems no longer works in iOS 14.
Will the framework be updated in the near future?
@Mallenow I would give this a try: https://github.com/unboxme/Blurberry so far so good.
@danh-geo @Mallenow
While this seems quite comprehensive I wouldn't use it in production because of the extensive use of private APIs (For the same reason, I wouldn't use Bluuur today). Recently I found out quite an elegant way to set the blur radius using vanilla UIKit:
private let animator: UIViewPropertyAnimator
override init(frame: CGRect) {
let visualEffectView = UIVisualEffectView(effect: nil) // must be nil
animator = UIViewPropertyAnimator(duration: 1, curve: .linear, animations: {
visualEffectView.effect = UIBlurEffect(style: .regular)
})
...
// set the needed radius with a percentage:
animator.fractionComplete = 0.5
Hello,
first of all i want to thank you for the nice framework. But unfortunately it doesn't work properly on iOS 14. After I updated my device, the blur effect does not displayed anymore. The area is only displayed in grayscale.
Here are my functions:
I hope you can help me with this issue quickly.
Many thanks Mallenow