解决方案 »

  1.   

    没有,但你可以开一个NSTimer来监听UIImageView 的isAnimating属性的状态。根据这个来判断,伪代码如下: [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(onTimer) userInfo:nil repeats:YES];-(void)OnTimer {
        if ( [imageView  isAnimating] )
        {
            // still animating
        }
        else
        {
            // Animating done
        }}
      

  2.   

    [UIImageView animateWithDuration:1 animations:^{
         [imageView startAnimating];
        } completion:^(BOOL finished) {
            //
        }];
    我不知道这样是否可行,具体没试过