Skip to content

method swizzling 黑魔法,有坑~ #2

@jcxc

Description

@jcxc

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

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

[_UIWebViewScrollView _systemGestureStateChanged:]

且都是在iOS8系统中。

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions