title: How to place a file in my bundle's resource directory?
body: <p>I have a .html file that needs to go into my iPhone app's bundle resource directory.  I tried FIle -> New -> Resource but nothing seemed to fit the bill.  </p>
  
  <p>Right now I'm using a UIWebView loadRequest and have the "pathForResource:@"help.htm"... it crashes when it can't find help.htm.  If I put this in a Resource directoyr, I believe I can still use the same code without any directory qualifiers.</p>
  
  <p>How do I do this?</p>
  
  <p>UPDATE:</p>
  
  <p>Here is the UIWebView code:</p>
  
  <pre><code>- (void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  
      if([[segue identifier] isEqualToString:@"helpSegue"])  {
  
          [slWebView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"iHelp.htm" ofType:@"html"]isDirectory:NO]]];
  
  
      }
      else 
          if ([[segue identifier] isEqualToString:@"reportSegue"]) {
              NSLog(@"reportSegue");
          }
  }
  </code></pre>
  
  <p>Here is the error I'm getting:</p>
  
  <pre><code> *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:isDirectory:]: nil string parameter'
  </code></pre>