Contents

focusedFrameGuide

The layout guide to use when the image view is focused.

Declaration

var focusedFrameGuide: UILayoutGuide { get }

Discussion

The layout guide in this property represents the display frame of the image view when it’s focused. You can use this property to align other elements of your interface to the image view or to adjust the constraints of your interface.

When the adjustsImageWhenAncestorFocused property is set to true, the image view automatically applies this layout guide when the image view becomes focused.

See Also

Managing focus-related behaviors