Recorded · no net change

Changes in this version

Pages missing from one check, then back (no net change).

10 sections · 44 additions, 0 deletions

Other pages in this version: 1368 sections on 156 pages. All pages changed in v12

Summaries are written automatically and may be wrong; the diff below is the record.

Why this level

Rules computed from the old and new text set the range a level may take; the level is then chosen within it.

Image views: Not assessed
Rules require at least Notable: a word such as must, may, only, not or unless was added, removed or swapped; the section is new.
Image views › Best practices: Not assessed
Rules require at least Notable: the section is new.
Image views › Content: Not assessed
Rules require at least Notable: a word such as must, may, only, not or unless was added, removed or swapped; the section is new.
Image views › Platform considerations: Not assessed
Rules require at least Notable: a region, platform, program or kind of app was named or dropped; the section is new.
Platform considerations › macOS: Not assessed
Rules require at least Notable: a region, platform, program or kind of app was named or dropped; the section is new.
Platform considerations › tvOS: Not assessed
Rules require at least Notable: a region, platform, program or kind of app was named or dropped; the section is new.
Platform considerations › visionOS: Not assessed
Rules require at least Notable: a number, percentage, amount or duration changed; a region, platform, program or kind of app was named or dropped; the section is new.
Platform considerations › watchOS: Not assessed
Rules require at least Notable: a region, platform, program or kind of app was named or dropped; the section is new.
Image views › Resources: Not assessed
Rules require at least Notable: the section is new.
Image views › Change log: Not assessed
Rules require at least Notable: a region, platform, program or kind of app was named or dropped; the section is new.

Assessment history

  1. : recorded from earlier history (proposed)
44 additions, 0 deletions

Image views

Within an image view, you can stretch, scale, size to fit, or pin the image to a specific location. Image views are typically not interactive.

Not assessed · Best practices

Best practices

Use an image view when the primary purpose of the view is simply to display an image. In rare cases where you might want an image to be interactive, configure a system-provided button to display the image instead of adding button behaviors to an image view.

If you want to display an icon in your interface, consider using a symbol or interface icon instead of an image view. SF Symbols provides a large library of streamlined, vector-based images that you can render with various colors and opacities. An icon (also called a glyph or template image) is typically a bitmap image in which the nontransparent pixels can receive color. Both symbols and interface icons can use the accent colors people choose.

Not assessed · Content

Content

An image view can contain rich image data in various formats, like PNG, JPEG, and PDF. For more guidance, see Images.

Take care when overlaying text on images. Compositing text on top of images can decrease both the clarity of the image and the legibility of the text. To help improve the results, ensure the text contrasts well with the image, and consider ways to make the text object stand out, like adding a text shadow or background layer.

Aim to use a consistent size for all images in an animated sequence. When you prescale images to fit the view, the system doesn’t have to perform any scaling. In cases where the system must do the scaling, performance is generally better when all images are the same size and shape.

Not assessed · Platform considerations

Platform considerations

No additional considerations for iOS or iPadOS.

Not assessed · macOS

macOS

If your app needs an editable image view, use an image well. An image well is an image view that supports copying, pasting, dragging, and using the Delete key to clear its content.

Use an image button instead of an image view to make a clickable image. An image button contains an image or icon, appears in a view, and initiates an instantaneous app-specific action.

Not assessed · tvOS

tvOS

Many tvOS images combine multiple layers with transparency to create a feeling of depth. For guidance, see Layered images.

Not assessed · visionOS

visionOS

Windows in visionOS apps and games can use image views to display 2D and stereoscopic images, as well as spatial photos. If your app uses RealityKit, you can also display images of any type outside of image views next to 3D content, or generate a spatial scene from an existing 2D image. For design guidance, see Images > visionOS; for developer guidance, see ImagePresentationComponent.

For guidance on presenting other 3D content in a window or volume, see Windows > visionOS.

Not assessed · watchOS

watchOS

Use SwiftUI to create animations when possible. Alternatively, you can use WatchKit to animate a sequence of images within an image element if necessary. For developer guidance, see WKImageAnimatable.

Not assessed · Resources

Resources

Images

Image wells

Image buttons

SF Symbols

Developer documentation

Image — SwiftUI

UIImageView — UIKit

NSImageView — AppKit

Videos

Not assessed · Change log

Change log

Date

Changes

June 21, 2023

Updated to include guidance for visionOS.