Contents

previouslyFocusedView

The view that was focused before the focus update.

Declaration

weak var previouslyFocusedView: UIView? { get }

Discussion

If your app targets tvOS 10 and later, use previouslyFocusedItem instead.

This property returns nil when no view was previously focused, such as when setting the initial focus.

See Also

Locating focus direction