title: iPhone iOS how to flip/reflect any UIView in - place?
body: <p>I know how to flip/reflect/rotate a UIImage by re-drawing it within it's bounds. </p>
  
  <pre><code>- (IBAction)reflectImageView:(UIImageView)imageView {
  
      UIGraphicsBeginImageContextWithOptions(imageView.bounds.size, NO, 0.0);
      CGContextRef context = UIGraphicsGetCurrentContext();
      CGContextScaleCTM(context, 1.0, -1.0);
      CGContextTranslateCTM(context, 0.0, -imageView.bounds.size.height);
  
  
     [imageView.layer renderInContext:context];
      imageView.image = UIGraphicsGetImageFromCurrentImageContext();
      UIGraphicsEndImageContext();
  
  }
  </code></pre>
  
  <p>But how do I create a "flip/reflect" effect for any UIView, preferably keeping it's center in the same position as before? </p>
  
  <p>Thank you!</p>