title: UIWebView and navigation controller
body: <p>How can I tell my <code>UIWebView</code> to open links in a new View , using a <code>UINavigationController</code> ?</p>
  
  <p>I found this thread, but i m a little confused of where to implement that piece of code (i m new to objective-C/IPhone)</p>
  
  <p><a href="https://stackoverflow.com/questions/3815167/clicking-a-link-in-uiwebview-pushes-onto-the-navigationview-stack">Clicking a link in UIWebView pushes onto the NavigationView stack</a></p>
  
  <p>my view just contains a simple <code>WebView</code> with a <code>UINavigationController</code> on top</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  
  @interface ContactViewController : UIViewController {
  
      IBOutlet UIWebView *webView1;
  }
  
  @property (nonatomic, retain) UIWebView *webView1;
  </code></pre>