CODEX – 9 FLIP SCREEN TO MIRROR

Flip screen to mirror

//Mirror the UIView left to right
view.transform = CGAffineTransformMakeScale(-1.0, 1.0);

//OR Mirror the UIview top to bottom
view.transform = CGAffineTransformMakeScale(1.0, -1.0);

  //Mirror the UIButton left to right view.transform = CGAffineTransformMakeScale(-1.0, 1.0); //OR Mirror the UIButton top to bottom view.transform = CGAffineTransformMakeScale(1.0, -1.0); and Many above method is used to Mirror the image.  

Leave a Reply

Your email address will not be published. Required fields are marked *