ImageView
An object that displays a single image or a sequence of animated images in your interface.
public class ImageView: View
Inheritance
Initializers
init(image:)
Returns an image view initialized with the specified image.
public init(image: Image?)
init(image:highlightedImage:)
Returns an image view initialized with the specified regular and highlighted images.
public init(image: Image?, highlightedImage: Image?)
Properties
image
The image displayed in the image view.
public var image: Image?
highlightedImage
The highlighted image displayed in the image view.
public var highlightedImage: Image?
adjustsImageSizeForAccessibilityContentSizeCategory
public var adjustsImageSizeForAccessibilityContentSizeCategory = false