Image Views

An image view displays a single image or an animated sequence of images over a transparent or opaque background. Within an image view, images may be stretched, scaled, sized to fit, or pinned to a specific location. Image views are noninteractive by default.

An image view showing a photo of a kid jumping into the ocean.

If possible, make sure all images in an animated sequence are consistently sized. Ideally, images should be prescaled to fit the view so the system doesn't have to do any scaling. If the system must perform scaling, it's easiest to achieve the desired results when all images are the same size and shape.

For developer guidance, see UIImageView.

Note An image that’s been configured as a template image discards its color and adopts any tint that’s been applied to the enclosing image view. See Custom Icons. For developer guidance, see UIImageRenderingModeAlwaysTemplate in UIImage.