How to transfer a view frame to it?

Not even sure how to ask this. Transfer local coordinates to global?

+3
source share
1 answer

The UIView class has several methods for converting CGPoints or CGR coordinates from one view to another. Take a look at convertPoint: toView :, convertPoint: fromView :, etc in the UIView class reference.

You can convert coordinates from one view to another or from any view to a window or vice versa.

+5
source

Source: https://habr.com/ru/post/1752188/


All Articles