title: How to flip UIImage horizontally with Swift?
body: <p>The solution to do UIImage flipping is with the Objective-C code:</p>
  
  <pre><code>[UIImage imageWithCGImage:img.CGImage scale:1.0 orientation: UIImageOrientationDownMirrored]
  </code></pre>
  
  <p>However, imageWithCGImage is not available in Swift! Is there a solution for flipping image horizontally with Swift? Thanks!</p>