title: How to slow MKMapCamera movement?
body: <p>I am coding in iOS.</p>
  
  <p>I have an NSArray, which contains a few MKMapCameras. I want to display MKMapCameras from the array one after another.</p>
  
  <p>I put a while loop and used <code>[self.mapView setCamera:nextCamera animated:YES];</code></p>
  
  <p>However, this is only showing the first and the last views. Everything in between is going too fast.</p>
  
  <p>I want to slow down the movement of each camera. Is there a way to achieve it using CATransaction or using any other animation tricks. If so, could you please show me an example code?</p>
  
  <p>Want to give an update... I tried below code. But it isn't working... Camera movements are fast as I mentioned earlier.</p>
  
  <pre><code>[CATransaction begin];
  [CATransaction setAnimationDuration:5.5];
  [CATransaction setAnimationTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
  [CATransaction setCompletionBlock:^{
      [self.mapView setCamera:nextCamera animated:YES];
  }];
  [CATransaction commit];
  </code></pre>