Converts a rectangle from the coordinate system of another window to coordinate system of the current window.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
Parameters
rect
A rectangle in the coordinate system of
window
.window
The source window containing the specified
rect
. Specifynil
to convert the rectangle from the logical coordinate system of the screen, which is measured in points.
Return Value
The converted rectangle.