FXBlurView
FXBlurView copied to clipboard
Doesn't seem to work with SpriteKit
can't post example due to NDA...
It's probably because it uses [layer renderInContext:]
which doesn't work with opengl content, instead of the equivalent iOS7 [view <redacted>]
method which should work with anything.
But to be honest, if you're just targeting iOS7 and above, you'd be better off using the UIToolbar layer trick to do your blurring instead (google it).
For SpriteKit content, there may be an approach using shaders or CIFilters that would be more efficient (not 100% sure as I've not read much of the SpriteKit docs yet).
ah, thanks. Yeah, I saw the UIToolbar-solution, but we have to wait how Apple reacts to it
I can't see that they'd have a problem with it. It doesn't use any private APIs.
Failing that though, if you modify the library to use the aforementioned new iOS 7 method (should be obvious - it's a one-line change) then it should solve your issue.
yeah, I know what you mean, I'll try it out. Thanks!
I tried to implement the new iOS 7 layer drawing method conditionally in the latest release, but it doesn't seem to work. Did you have any luck with it?