Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

how to make a image flip swift

yourImageView.image =[UIImage imageNamed:@"whatever.png"];
yourImageView.transform = CGAffineTransform(scaleX: -1, y: 1); //Flipped
Source by ask.xiaolee.net #
 
PREVIOUS NEXT
Tagged: #image #flip #swift
ADD COMMENT
Topic
Name
2+7 =