ANYMethodLog icon indicating copy to clipboard operation
ANYMethodLog copied to clipboard

不会执行hook类本身的forwardInvocation:方法

Open lele8446 opened this issue 6 years ago • 0 comments

如果被hook的类本身有对methodSignatureForSelector:、forwardInvocation:方法做处理。那么该类在遇到真实的消息转发时(区别于你框架中主动触发的消息转发),会变成qhd_qhd_qhd_qhd_qhd_qhd_qhd_qhd_...无限循环,qhd_forwardInvocation死循环。而不能执行类本身的forwardInvocation:方法。

lele8446 avatar Jan 03 '18 01:01 lele8446