It may be a question with dum, but I can not find the answer to this question ...
I have a UIScrollView and inside several UIButtons. When I press a button, I want to know the location of the screen on the button. If I use button.frame, it gives me a position inside a UIScrollView, which is normal.
How can I find x and y relative to the screen of a pressed button?
Thanks in advance.
source share