WKWebView下的JSEXport、JSImport、JSHandler,让JS-OC交互更加便捷
增加直接返回值支持
jsCode:vari = window.jsHandler(10);
ocCode:self.jsExport[@"jsHandler"] = ^int(int i){ return11; };
增加直接返回值支持
jsCode:vari = window.jsHandler(10);
ocCode:self.jsExport[@"jsHandler"] = ^int(int i){ return11; };