How do I scale down the size of an image in iOS using Swift? I don't mean make the file smaller as in less megabytes, and I don't mean reduce the size of the image view. I mean to actually alter the image to make it a smaller version of itself.
I have no code because I have no idea how to do this.