The simplest way to resize an UIImage?

Posted by Pinki | Updated on

The simplest way is to set the frame of your UIImageView and set the contentMode to one of the resizing options Or you can use this utility method, if you actually need to resize an image:

Example usage:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers