title: iOS UIView animation (animationWithDuration:) with multiple options
body: <p>I'm trying to implement a <code>UIView</code> animation block with <code>animationWithDuration</code> and multiple options. It is working fine except it only seems to use one of the options I specify instead of all three. Is there a limit to the number of options I can specify or a limit on certain combinations of options?</p>
  
  <p>Below is my code. "starRotator" is a <code>UIImageView</code> in a <code>UIView</code> that I'm rotating. I tried wrapping the options in parentheses, but that didn't work either. It seems to only take the <code>UIViewAnimationOptionRepeat</code> option and ignore the other two. </p>
  
  <pre><code>[UIView animateWithDuration:30.0 
                        delay:0.0 
                      options:UIViewAnimationCurveLinear | UIViewAnimationOptionRepeat | UIViewAnimationOptionBeginFromCurrentState
                   animations:^{
                       starRotator.superview.transform = CGAffineTransformMakeRotation(M_PI);
                   }
                   completion:^(BOOL finished){ }
   ];
  </code></pre>