title: Xcode UIWebView local HTML
body: <p>I know HTML, javascript, CSS… but I wanted to make a native/hybrid iPhone app using HTML5 but without using something like PhoneGap or Nimblekit.
  I never wrote a real (not web app) iPhone app before, so i don't really know anything about Xcode.
  I already made a UIWebView with a tutorial that i found, but it displays a website (apple.com).
  How can i make this display a local file (index.html)?</p>
  
  <p>My code in ViewController.m under (void)viewDidLoad:</p>
  
  <pre><code>    [super viewDidLoad];
      NSString *fullURL = @"html/index.html";
      NSURL *url = [NSURL URLWithString:fullURL];
      NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
      [_viewWeb loadRequest:requestObj];
  </code></pre>