2

I have a small image button which fits nicely in a certain area of my screen.

The image is a perfect size for viewing, but too small to tap.

Is there any way to make the button itself bigger (hence easier to tap), but make the image smaller, so it looks the right size?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
Greg Peckory
  • 7,700
  • 21
  • 67
  • 114

1 Answers1

0

You just use UIView as a touchView under the your small button. Like this,

enter image description here

In this case, I put UIView under the small heart button. And, I implement tap action by UITapGesture.

pixyzehn
  • 762
  • 6
  • 15