Contents

adjustsImageWhenAncestorFocused

A Boolean value that determines whether the image view responds when an ancestor gains focus.

Declaration

var adjustsImageWhenAncestorFocused: Bool { get set }

Discussion

When the value of this property is true and an ancestor of the image view becomes focused, the image view adjusts the frame of its image using the focusedFrameGuide property. On supported Apple TV devices, setting this property to true renders the image with a Liquid Glass effect when it gains focus.

The default value of this property is false.

See Also

Managing focus-related behaviors