Function

UIAccessibilityConvertFrameToScreenCoordinates

Converts the specified rectangle from view coordinates to screen coordinates.

Declaration

CGRect UIAccessibilityConvertFrameToScreenCoordinates(CGRect rect, UIView *view);

Parameters

rect

A rectangle specified in the coordinate system of the specified view.

view

The view that contains the specified rectangle. This parameter must not be nil.

Return Value

The rectangle in screen coordinates.

Discussion

Use this function to convert accessibility frame rectangles to screen coordinates.

See Also

Conversions

UIAccessibilityConvertPathToScreenCoordinates

Converts the specified path object to screen coordinates and returns a new path object with the results.