Converts the specified rectangle from view coordinates to screen coordinates.
SDKs
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
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.