0
我的代碼:不工作stringByEvaluatingJavaScriptFromString對象的C
[Web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:filePath]]];
NSString *html = [Web stringByEvaluatingJavaScriptFromString: @"document.getElementsByClassName('bottomwideborder')[1].innerHTML;"];
NSLog(@"%@", html);
這個HTML文件不工作 - http://www.mosgortrans.org/pass3/shedule.php?type=avto&way=0&date=0000011&direction=AB&waypoint=1(我嘗試從HTML中提取表)
請幫幫我!