Instance Property

focusedFrameGuide

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

Declaration

@property(readonly, strong) UILayoutGuide *focusedFrameGuide;

Discussion

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 YES, the image view automatically applies this layout guide when the image view becomes focused.

See Also

Managing Focus-Related Behaviors

adjustsImageWhenAncestorFocused

Allows UIImageView to respond when an ancestor becomes focused.

masksFocusEffectToContents

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