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.
Written by Pavel
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#