Setting an Image View’s Appearance

To set the image, use setImage:.

To set the frame style, use setImageFrameStyle: with one of these arguments:

To choose how the image is scaled within its frame, use setImageScaling: with one of these arguments:

To choose how the image is aligned within its frame, use setImageAlignment: with one of these arguments: