ObjC
WKWebView DEBUG
doorxp 发表于2019-09-05 浏览3964 评论0
#ifdef DEBUG SEL sel = NSSelectorFromString(@"_enableRemoteInspector"); id cls = NSClassFromString(@"WebView"); IMP imp = [cls sel]; void (*func)(id, SEL) = (void *)imp; func(cls, sel);#endifadd to&nb