xcvcpq
Last Updated: February 25, 2016
·
3.741K
· 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.