title: Thread on Images are not loading from bundle path While Loading the Webview?
body: <p>In my iOS app, I am loading the 'IYGLessonPlayer' html page in web view. Here, IYGLessonPlayer html Page load another html page i.e., index.html.</p>
  
  <p>"index.html page will come as per the screen shot"</p>
  
  <p>I have added a folder structure (created folder references option) in app bundle i.e.,</p>
  
  <p>check the below url</p>
  
  <p><a href="https://www.dropbox.com/s/l9qjamfsg9gt867/Screen%20Shot%202015-03-02%20at%202.11.56%20PM.png?dl=0" rel="nofollow">https://www.dropbox.com/s/l9qjamfsg9gt867/Screen%20Shot%202015-03-02%20at%202.11.56%20PM.png?dl=0</a></p>
  
  <p>My issue is:</p>
  
  <p>I am unable to load the images, css  from the path in html page i.e., </p>
  
  <p>assets/images/background.png</p>
  
  <p>assets/css/bootstrap.css</p>
  
  <p>web view code</p>
  
  <p>iOS code</p>
  
  <pre><code>NSURL *htmlFile =
  [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"IYGLessonPlayer" ofType:@"html"]
             isDirectory:NO];
  NSURLRequest *request = [NSURLRequest requestWithURL:htmlFile];
  [_contentWebView loadRequest:request];
  </code></pre>
  
  <p>Javscript code</p>
  
  <p>for css</p>
  
  <pre><code> $('.submitboxnew').css({
      "color": "#ffff00",
      "background": "url('../assets/images/background.png')",
      "animation": "none"
    });
  </code></pre>
  
  <p>for html loading</p>
  
  <pre><code>bundlePath  = [[NSBundle mainBundle]resourcePath];
  rootPath    = IYG_G7_L03;
  temp        = IYG_G7_L03_7.2_Pressures;
  </code></pre>
  
  <p>bundle path comes from native iOS </p>
  
  <pre><code>var path = bundlePath + '/' + rootPath + '/' + temp + '/';
  var activity_path = path + 'index.html';
  alert("activity path:"+activity_path);
  $(".content").load(activity_path);
  </code></pre>
  
  <p>Please let us know how to load all the content.</p>
  
  <p>Note: 
  Here, from native code loading IYGLesson Player html page.
  and from Javascript code loading another html pages.</p>