Last Updated: February 25, 2016
·
4.396K
· mrballoon

Scale UIImage using one method

UIImage *scaledImage =
[UIImage imageWithCGImage:[imageToScale CGImage]
                    scale:(imageToScale.scale * 3.0)
              orientation:(imageToScale.imageOrientation)];

scaledImage will have 1/3 width and height from imageToScale.