Contents

frameObscured(in:)

Returns the portion of the specified view that the tool picker obscures.

Declaration

func frameObscured(in view: UIView) -> CGRect

Parameters

  • view:

    The view that’s potentially obscured by the tool picker’s palette.

Return Value

The portion of view (in its own coordinate space) obscured by the palette.

Discussion

Because the palette is transparent in places, part of your view’s content may continue to show through in the specified rectangle.

See Also

Coordinating the visibility of the picker