title: How do I use NSURL fileURLWithPath with a fragment?
body: <p>I have an IOS project with html file resources shown in a webview. These html files have different sections which correspond to fragments (eg, index.html#section1, index.html#section2), which I would like to load in the webview. Unfortunately using <code>[NSURL fileURLWithPath:url]</code> does not work with fragments. The <code>#</code> is converted to <code>%23</code> in the url, and the file is not found. If I use the <code>[NSURL URLWithString:url]</code> method, it works, but this method cannot load local resources. </p>
  
  <p>Is there a way to have the webview load the local resource url with the fragment?</p>