yannickl/YLProgressBar

Performance Issue - Multiple Progress Bar

Closed this issue · 3 comments

Hello,

I am using multiple progress bars (in each table cell) to show progress for file uploading. Unfortunately, the view becomes very slow - despite the fact that the progress bars have been finished and the files have been uploaded. I noticed the the iPhone CPU is stacked to > 90%.

The "way" i finish the progress bar is:

YLProgressBar.progress = 1.0
YLProgressBar.YLProgressBar = YES.

Is this the correct way to stop "normally" the progress (times) or i have missed something?

Hi,

To stop the stripes animation you should set the stripesAnimated to NO. Have you tried to use the instruments to check where the problem comes from exactly?

Hello,

This exactly was the problem. I didn't set the stripesAnimated to NO.

Thank you for the support!

You're welcome. ;)