Detecting touch on an image
Monkey Targets Forums/iOS/Detecting touch on an image
| ||
Anyone know how to detect if a user touches a bitmap? I am currently using TouchHit(0), just not sure how to detect touch on image. Thanks :) |
| ||
Get the touich coordinates with TouchX(0) and TouchY(0). Then compare them with the image coordinates and boundaries. If the touch is inside them, you have a hit. |