ios - How to get div id in cocoa webview xcode -


anyone tell me how div id script webview used code not working

nsstring *strtitle1=[webview stringbyevaluatingjavascriptfromstring:@"document.getelementbyid('div_indicator').innerhtml;"]; nslog(@"strtil:%@",strtitle1); 

try code objective-c-hmtl-parser , hpple

and have tutorial how parse html on ios


Comments