YPLiang19 / Mango

MangoFix is a DSL which syntax is very similar to Objective-C,MangoFix is also an iOS App hotfix SDK. You can use MangoFix method replace any Objective-C or Swift method.
MIT License
1.17k stars 213 forks source link

支持NSObject+xxxx,基类扩展的hook吗? #47

Open yuanchuns opened 1 year ago

yuanchuns commented 1 year ago

7njZtm0DDh

image

需要hook的方法在基类里,然后调用的地方在指定的类。这种情况可以hook吗?我本地尝试了是不行,不知道是不是脚本写的不对?