Recusiwe Recusiwe - 1 month ago 15
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?

Answer

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.

Comments