I'm trying to animate a UIVisualEffectsView with a blur effect on top of a UIImageView. Animating the effects view 'in' seems to work, however when animating it 'out' on the first animation frame the effect vanishes to what looks like a 0.5 alpha view.
Is this a bug in iOS8 or am I doing it wrong?
You can play with the example project at https://github.com/mickeyl/iOS-Bug-Example-Projects/tree/master/Animating-UIVisualEffectsView
Here is a preview of what I'm seeing:
Update: Obviously the problem is the height parameter in the new rect. Keeping it works around it. If you then add the effect as subview to the image and clipToBounds, I can get the intended effect. Still I view this as a bug.