播放一个5秒的序列帧,然后在跳转一个tabbar,,可是这一系列事件为什么会在一秒中执行完呢

[UIView animateWithDuration:5 delay:0 options: UIViewAnimationOptionTransitionNone animations:^
{

     NSMutableArray *imageArr =  init];
     
     for (int i = 0; i<106; i++)
     {
         NSString *imageName =  initWithFormat:@"1024_%d",i];
         UIImage *image = initWithContentsOfFile: pathForResource:imageName ofType:@"jpg"]];
         ;
         NSLog(@"~~~img~%@",image);
     }
     animationImageView = initWithFrame:CGRectMake(0, 0, 1024, 768)];
     animationImageView.image =  pathForResource:@"1024_4" ofType:@"jpg"]];//播放完成后显示第一张图片
     animationImageView.animationImages = imageArr;//将序列帧数组赋给UIImageView的animationImages属性
     animationImageView.animationDuration = 5;//设置动画时间
     animationImageView.animationRepeatCount = 1;//设置动画次数 0 表示无限
     ;//开始播放动画
     ;
    
  }completion:^(BOOL finished)
 {
     ;
     [self presentViewController:self.viewController animated:NO completion:^
      {
          
      }];
     
     
    
 }];

你的动画是五秒 但程序执行时是不间断的执行每行代码的 你可以在做的延迟调用