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

method swizzling 黑魔法,有坑~ #2

Open
jcxc opened this issue Dec 15, 2016 · 1 comment
Open

method swizzling 黑魔法,有坑~ #2

jcxc opened this issue Dec 15, 2016 · 1 comment

Comments

@jcxc
Copy link

jcxc commented Dec 15, 2016

我在项目导入UIScrollView+HeaderScaleImage.h分类,但并未在任何地方调用。

在线上崩溃分析中发现大量如下日志

[_UIWebViewScrollView _systemGestureStateChanged:]

且都是在iOS8系统中。

经排查,确实是由该分类,删除后便无此bug。

我猜测,应该是Method Swizzling黑魔法过程中导致的,具体情况也不是很清楚~

@elite-kai
Copy link

很大很大的坑呀,ios8的系统,随便点点都崩溃呀

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