title: Refresh content of html file inside an uiwebview (iphone)
body: <p>I loading a simple html file inside the UIWebView. This html contains a single image of a Webcam. </p>
  
  <pre><code>&lt;img id="image" src="http://server.tld/lastwebcamimage.jpg" width="300" height="245" /&gt;
  </code></pre>
  
  <p>Now I want to refresh this htmlfile/image <strong>every 6 seconds</strong>, and display the updated webcam image.</p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;meta content="no-cache" http-equiv="cache-control"&gt;
  &lt;meta content="no-cache" http-equiv="pragma"&gt;
  &lt;meta content="6" http-equiv="refresh"&gt;
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var active = window.setInterval("reloadMe()", 6000);
      function reloadMe() {
          window.location.reload()
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>but <strong>it doenst work</strong>. Any other knows ways to refresh the page?</p>
  
  <p>Thx.</p>