How do we get the “visual” coordinates of an object? For example, getting the frame of a textfield within a UIScrollView will give me the X and Y relative to the UIScrollView, but I want to know the X and Y as if they were shown in the view.
Is there a built in function?
Once you have the point as a CGPoint you can call:
on you UIView.
pass in you point in your views co-ordinates as point. And for view pass in
This will then return a CGPoint (PointF in C#) converted into the windows coordinate system!
So for example:
Hope this helps 🙂