title: Xcode - UIWebview not displaying CSS, Javascript or external content
body: <p>I'm using a UIWebview to display content provided within local HTML files.</p>
  
  <p>The problem however is that the page is not displaying correctly, only the core html is rendered with no css styles or media content displayed. For this project, I have the entire web structure in their respective folders and are placed within the Xcode project (all content is displayed within blue folders).</p>
  
  <p>The built application package contains the web folders and all of content is there so I am unsure as to why it is not displaying correctly.</p>
  
  <p>Here is the code I am using to load and display the webpage:</p>
  
  <pre><code>NSString *html = [[NSString alloc]initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"www/content/island-1" ofType:@"html"] encoding:NSUTF8StringEncoding error:NULL];
  
  
  NSString *path = [[NSBundle mainBundle] bundlePath];
  NSURL *baseURL = [NSURL fileURLWithPath:path];
  [webView loadHTMLString:html baseURL:baseURL];
  </code></pre>
  
  <p>within the html files, here are code references to some content:</p>
  
  <pre><code>&lt;script type="text/javascript" src="../static/js/custom-event.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript" src="../static/js/touch-source/Browser/Features.Touch.js"&gt;&lt;/script&gt;
  
  &lt;link rel="stylesheet" href="../static/css/islands_popup.css"&gt;
  &lt;link rel="stylesheet" href="../static/css/content.css"&gt;
  </code></pre>
  
  <p>All folders and files are correct and none are missing. Does anyone know what I might be doing wrong?</p>