I have a UIImageView
which moves across the screen and I added a UITapGestureRecognizer
to the image. It all works fine and dandy, however, when the image starts to move too fast across the screen, then it gets harder to tap and be recognized.
if you'll look at this image, you'll see a green square around 2 stick figures.
Let's say, for example, you have to touch inside the green square for it to register as a "tap". Currently it's like the top image, but I would like to have some extra padding like in the bottom image. So how could I make the area of where the UITapGestureRecognizer
is larger?