UIProgressView setProgress will not stop the animation

I seem to have the opposite problem for most people. I call setProgress on my UIProgressView (which is added to my cell view). I call it NO animation, but the change seems to be animated, and I can't turn it off.

What I see is the “slides” of the bar from the current level to the desired level, and not jumping right there. I assume this means animation?

I use xcode 5.0 and model for iPhone iOS7.

self.progressPlay = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleBar];
[self.progressPlay setFrame:CGRectMake(56.0, 34.0, 225.0, 11.0)];
[self.progressPlay setProgress:0.0 animated:NO];
[self.progressPlay setProgressTintColor:[UIColor colorWithRed:0.431 green:0.753 blue:0.949 alpha:1.0]];

... and later

[self.progressPlay setProgress:progress / duration animated:NO];
+4
source share
1 answer

, "" UIProgressView, UIProgressViewStyleBar. UIProgressViewStyleDefault, : NO.

"", trackImage progressImage UIProgressView .

+2

All Articles