Contents

defaultRectForFocusPoint(ofInterest:)

The default rectangle of interest used for a given focus point of interest.

Declaration

func defaultRectForFocusPoint(ofInterest pointOfInterest: CGPoint) -> CGRect

Parameters

  • pointOfInterest:

    The point of interest for which you want the default rectangle of interest.

Discussion

For example, pass (0.5, 0.5) to get the focus rectangle of interest used for the default focus point of interest at (0.5, 0.5).

This method returns CGRectNull if isFocusRectOfInterestSupported returns false.

See Also

Setting a focus rectangle of interest