Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lele8446 opened this issue Jan 3, 2018 · 0 comments
Open

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

lele8446 opened this issue Jan 3, 2018 · 0 comments

Comments

@lele8446
Copy link

lele8446 commented Jan 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant