Hey, trying to find the location of users so that I can have three areas on the screen that can leak out and determine which section they are reacting to based on the y coordinates of their swipe.
This is the code
CGPoint touchPoint = [recognizer locationOfTouch:0 inView:nil];
I tried to print touchPoint.y in the label, and all I get is 0. How do I get the coordinates of users?
Thank.
source
share