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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -