title: NavigationBar is not visible
body: <p><b>Explanation:</b> I have a viewcontroller that contains a NavigationBar and a UIWebView. The webview is set to full screen in the .m file. On the viewcontroller, the navigationbar is arranged to the front.</p>
  
  <p><b>What happens:</b> When I run the app, the only thing that is visible is the webview (full screen) but the navigation bar is not there.</p>
  
  <p><b>What's suppose to happen:</b> This is self-explanatory but the navigationbar is suppose to be at the top with webview under it.</p>
  
  <p><b>What it looks like</b></p>
  
  <p><a href="https://i.stack.imgur.com/MMlZ1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MMlZ1.png" alt="enter image description here"></a></p>
  
  <p><b>.m file</b></p>
  
  <pre><code>#import "SecondViewController.h"
  
  @interface ViewController2 ()
  
  @end
  
  @implementation ViewController2
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
  
      // Do any additional setup after loading the view, typically from a nib.
        UIWebView *webview2=[[UIWebView alloc]initWithFrame:CGRectMake(0, 0,  self.view.frame.size.width,self.view.frame.size.height)];
      NSString *url2=@"http://bithumor.co/server/trending/index1.php";
      NSURL *nsurl2=[NSURL URLWithString:url2];
  
      NSURLRequest *nsrequest2=[NSURLRequest requestWithURL:nsurl2];
  
      [webview2 loadRequest:nsrequest2];
  
      webview2.scrollView.bounces = NO;
  
      [self.view addSubview:webview2];
  
  @end
  </code></pre>
  
  <p><b>.h file </b></p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  
  @interface ViewController2 : UIViewController
  
  @end
  </code></pre>
  
  <p><b>Issue/Question:</b> The navigationbar isn't visible, how can this be fixed so both the webview and navigationbar are visible?</p>