I have an application with a class named DynamicUIWebViewDelegate that I want to put hooks on some methods of it.
The problem is that class is a subclass of NSProxy so when I add the hooker I have an exception at runtime :
[DynamicUIWebViewDelegate aspect_hookSelector:withOptions:usingBlock:error:]: unrecognized selector sent to class
Hi there,
I have an application with a class named DynamicUIWebViewDelegate that I want to put hooks on some methods of it. The problem is that class is a subclass of NSProxy so when I add the hooker I have an exception at runtime :
[DynamicUIWebViewDelegate aspect_hookSelector:withOptions:usingBlock:error:]: unrecognized selector sent to class
How could I react to solve this issue ?
Thanks Peter