I have an image in my storyboard, and I want to flip it horizontally. By that, I mean I want to flip it over the X axis. I used the following code in a different action that seemed to flip the image, but without calling that action, but using the same code, I'm for some reason not able to flip the image. By the way, imageView (in the code below) is the name of the outlet for the UIImageView that I'm flipping, and there also aren't any error when I run the code. Idk why it won't flip. Any ideas? Is flipping a UIImageView, different from flipping a UIImage?? I don't know if theres even a difference there. Im kinda clueless.
Here's the code that I added into a button action:
self.imageView.transform = CGAffineTransformMakeScale(-1, 1);
I'm not sure if I need to switch around the numbers in that at all, I HAVE tried switching around the numbers, which ones are negative, or positive, but it is having no effect on my image.