Load UIWebView with new content

  • Hi there,

    I want to "refresh" my webView when I add something that i've write in javascript with
    stringByEvaluatingJavaScriptFromString: .

    But when I call the method my html is still the same. I want to reload my html page and just modify one thing with javascript. Do you have any idea of how I can do it ?

    Thanks in advance for your answers.

    Vavelin Kévin
    Twitter | Blog | LinkedIn
    Entrepreneur
    Developer OS X / iOS
  • You need to use -loadHtmlString:

    Time Dwarf,
    Roaring Guy

    On 2012-07-13, at 4:51 AM, Vavelin Kevin <vavelinkevin...> wrote:

    > Hi there,
    >
    > I want to "refresh" my webView when I add something that i've write in javascript with
    > stringByEvaluatingJavaScriptFromString: .
    >
    > But when I call the method my html is still the same. I want to reload my html page and just modify one thing with javascript. Do you have any idea of how I can do it ?
    >
    > Thanks in advance for your answers.
    >
    > Vavelin Kévin
    > Twitter | Blog | LinkedIn
    > Entrepreneur
    > Developer OS X / iOS
previous month july 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today