title: Convert UIView transform to CALayer
body: <p>I have UIView which I apply transform to. I'm trying to understand how to fetch the <strong>rotation</strong> of the UIView and apply it to the <strong>CALayer</strong>. If I'm printing the UIView transform I get this:</p>
  
  <pre><code>CGAffineTransform(a: 0.977750351365919, b: -0.209771900891948, c: 0.209771900891948, d: 0.977750351365919, tx: 0.0, ty: 0.0)
  </code></pre>
  
  <p>Though, I can't understand how to apply the <strong>rotation</strong> transform the the CALayer.</p>
  
  <pre><code>layer.transform
  </code></pre>
  
  <p>expecting to get <code>CATransform3D</code>.</p>