nicklockwood / FXBlurView

[DEPRECATED]
Other
4.94k stars 713 forks source link

FXBlurView blocks MainThread #27

Open mathiasAichinger opened 11 years ago

mathiasAichinger commented 11 years ago

Hi! I used the FXBlurView in different ViewController which are embedded in a PageViewController. I disabled dynamic during swiping to avoid a strange crash. And now if I swipe very fast between the VCs the app gets in a freezed state and I have to reset the app!

Does anyone have an idea? It looks like updateAsynchronously never stops!

mathiasAichinger commented 10 years ago

This issue also happened when I used a scrollView and the ScrollView delegate methods!

nicklockwood commented 10 years ago

Try using the global [FXBlurView setBlurEnabled:] methods to disable the blur during animation, rather than toggling the dynamic property.

When using scrollView delegate methods to update the blur view, make sure you use the async option.