Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - iOS如何hook一个没有导入类的方法?

黄舟黄舟2729 Tage vor645

Antworte allen(2)Ich werde antworten

  • PHP中文网

    PHP中文网2017-04-17 16:45:15

    NSClassFromString(@"class")

    运行时

    
    OBJC_EXPORT IMP class_replaceMethod(Class cls, SEL name, IMP imp, const char *types) 
    

    Antwort
    0
  • 巴扎黑

    巴扎黑2017-04-17 16:45:15

    参考这个

    Antwort
    0
  • StornierenAntwort