Tags / uiimage
Understanding Frame vs. Bounds in Image Views to Achieve Precise Control Over Dimensions and Layouts in Your iOS App
Here's the complete example of how you can put this code together:
Overriding Image Property of UIImageView: A Deep Dive into the Issues and Solutions
Implementing Custom UINavigationBar (iOS 4.0 and Earlier) vs iOS 5 and Later
Converting UIView to UIImage: A Comprehensive Guide for iOS Developers