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

使用category后,原class中的load方法无法被hook #3

Open
Mochangxing opened this issue Aug 31, 2018 · 1 comment
Open

使用category后,原class中的load方法无法被hook #3

Mochangxing opened this issue Aug 31, 2018 · 1 comment

Comments

@Mochangxing
Copy link

Class 和 category 同时实现了Load方法时,class_getClassMethod返回的category的load方法。这样一来就无法hook原Class中的load方法了

@joy0304
Copy link
Owner

joy0304 commented Aug 31, 2018

是的,这个有人解决了 https://everettjf.github.io/2018/08/19/ios-hook-really-all-load/

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

2 participants