search

Home  >  Q&A  >  body text

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

黄舟黄舟2821 days ago701

reply all(2)I'll reply

  • PHP中文网

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

    NSClassFromString(@"class")

    Runtime

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

    reply
    0
  • 巴扎黑

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

    Refer to this

    reply
    0
  • Cancelreply