Can I swizzle didSelectRowAtIndexPath: of UITableViewDelegate?
问题 The problem is this: I need to be able to get analytics on didSelectRowAtIndexPath throughout a big existing app with lots of tableViews. My first thought of this is doing method swizzling on didSelectRowAtIndexPath: but my app crashes with "unrecognized selector sent to instance" message depending on the stuff is accessed in the original didSelectRowAtIndexPath implementation. Here is how I try to achieve this in a UIViewController category: #import "UIViewController+Swizzle.h"