UIView animateWithDuration and UIProgressView setProgress
I want to animate my UIProgressView progression from 0 to 1 during 10 seconds. Code: [UIView animateWithDuration:10.0 animations:^{ [_myProgressView setProgress:1 animated:YES]; } completion:(BOOL finished)^{ if (finished) NSLog(@"animation finished); }]; Animation is working fine except that completion and NSLog are always called instantly. I tried animateWithDuration: withDelay: but the delay is not respected and executed immediately. Has anyone encountered the same problem? Thanks for you help. paresh Its an old problem but I am still posting the solution here. The solution turned out to be