Instance Property


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


var focusedFrameGuide: UILayoutGuide { get }


The layout guide in this property represents the display frame of the image view when it is 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

var adjustsImageWhenAncestorFocused: Bool

Allows UIImageView to respond when an ancestor becomes focused.

var masksFocusEffectToContents: Bool

A Boolean value indicating whether the floating focused appearance uses the image's alpha channel.