0

I got an old project and tried to find out where is code responding the button's touch event.

I wandering if there is anyway to catch my touch on a button and break at the selector method or somewhere related like when you make a symbolic breakpoint.

anb
  • 265
  • 1
  • 8

1 Answers1

0

you can override the event sending in UIApplication: - (void)sendEvent:(UIEvent *)event

see:

by overriding that method you can get any event sent to your app and you can intercept any touch event

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135