Recusiwe Recusiwe - 1 year ago 119
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download