Log every button press / interaction in an iOS App
问题 Is there a way to catch all sorts of user interactions, but first and foremost button presses in an iOS app? I'm interested in logging these events with a time stamp and ideally with the name of the screen they appear on. I guess the simplest way is to insert a call of a custom log function into every action called by a button. But that's too much effort. I also thought about subclassing UIButton , but this would still require me to change every button in an existing app and would work only