Recusiwe Recusiwe - 8 months ago 88
iOS Question

Loader freeze due to heavy load?

I'm experiencing that my loader gets stuck when my CPU usage is high, if I'm processing a heavy json request and such. My loader uses an animation, which is the one that just stops due to the heavy load on the CPU. Is there any way to solve this?


The problem is that you are networking on the main thread, or performing heavy calculations on the main thread, or both. This was always wrong, and now it is biting you by canceling your animation.