Instance Method

focusItemsInRect:

Retrieves all of the focus items within this container that intersect with the provided rectangle.

Required.

Declaration

- (NSArray<id<UIFocusItem>> *)focusItemsInRect:(CGRect)rect;

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.

See Also

Retrieving Focus Items

coordinateSpace

The coordinate space of the focus items contained in the focus item container.

Required.