UIWebview: Dynamically adding html content

Posted by user739711 on Stack Overflow See other posts from Stack Overflow or by user739711
Published on 2012-10-15T15:34:17Z Indexed on 2012/10/15 15:37 UTC
Read the original article Hit count: 262

Filed under:
|
|

I am making an app in which I get text from my server and display it in UIWebview. After some time more text is added and client(iphone) is notified about the additional-text. Now I want to inject this text into my UIWebview. Anybody know how to do it?

One method is to update some text file and reload the content. But I dont want to reload the page.

Another way can be to use javascript to check updates in a local file (which seems better).

Is there any known better solution?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview