focusItems(in:)
Retrieves all of the focus items within this container that intersect with the provided rectangle.
Declaration
func focusItems(in rect: CGRect) -> [any UIFocusItem]Parameters
- rect:
The rectangle used to look for focus items that intersect the rectangle expressed in the container’s coordinate space.
Return Value
An array of focus items that intersect the provided rectangle. The focus items are expressed in the container’s coordinate space.
Discussion
The found focus items should report their frames in the coordinateSpace.