I am currently using UIVisualEffectView to blur the image.
I have a UIScrollView. When I click on scrollView, in my "scrollViewDidScroll" method, I change the alpha of the UIVisualEffectView. The current behavior of this is that the blur radius changes smoothly when I drag in the view.
The problem, of course, I should not do this. Receive alerts about changing the alpha value of a UIVisualEffectView.
I saw people say to make a smooth blur transition using animation, like this here: How to output and display a UIVisualEffectView and / or UIBlurEffect? A.
However, I did not see anything that allowed me to do this during, say, a pan-gesture or something like that. I mean, if I set up the animation with a temporary sum, everything is fine. But do it while dragging and dropping?
source share