title: Loading local html from an array in xcode
body: <p>I am attempting to load a locally hosted html file into a webview from an array. it looks something like this </p>
  
  <pre><code>_siteAddresses = [[NSArray alloc]
                        initWithObjects:@"file://localhost/var/mobile/Application/${APP_ID}/First Pentecostal Seminary.app/First_Pentecostal_Seminary/Main.html",...
  </code></pre>
  
  <p>with the corresponding code being</p>
  
  <pre><code>NSString *urlString = [_siteAddresses
                         objectAtIndex:indexPath.row];
  NSURL *url = [NSURL URLWithString:urlString];
  
  NSURLRequest *request = [NSURLRequest requestWithURL:url];
  
  self.detailViewController.webView.scalesPageToFit = YES;
  
  [self.detailViewController.webView loadRequest:request];
  </code></pre>
  
  <p>What am I doing wrong...is it my coding or perhaps the html coding (I believe there may be some java in there)</p>