UIImage
will be added to UIImageView
in run time, I want to determine the location that user tap on image.
Is there any way to determine what is the pixel (x,y) of tapped image?
for exam:
If I have apple.png
by image size of x:1000, y:1000
and I tap on exactly center of it, it should return x: 500, y: 500
I need tapped point pixels on real image (UIImageView.image
) not UIImageView