title: Animate Layer Opacity with UIView.Animate
body: <p>I have 2 <code>CALayers</code>, each with an image. Both have an initial <code>Opacity</code> of <code>0</code>.</p>
  
  <p>I want to animate Layer1's <code>Opacity</code> to <code>1</code> over 1 second, starting straight away. Then after a delay of 0.5 seconds, I want to animate Layer2's <code>Opacity</code> to <code>1</code> over 1 second. These 2 layers sit on top of one another.</p>
  
  <p>What I am trying to achieve is having the first image fade in, then while it is fading in, fade the second image over it. </p>
  
  <p>But I cannot use <code>UIView.Animate</code> for some reason as it does not animate at all, just sets the values straight away.</p>
  
  <pre><code>        UIView.Animate(1, 0, UIViewAnimationOptions.CurveEaseIn, () =&gt; 
          {
              backgroundLayer.Opacity = 1;
          }, () =&gt; UIView.Animate(5, () =&gt; 
          {
              backgroundLayer2.Opacity = 1;
          }));
  </code></pre>
  
  <p>Here is simply tried to run the animation straight after one another and it still just sets the values right away and there is no animation.</p>