title: how can I use UINavigationController to switch between pages in Swift
body: <p>I am new to swift development, I am trying to switch between UINavigation controller, I saw a snippet of code that performed this feature in Objective-c,</p>
  <pre><code> UINavigationController* webViewNavigator = [[UINavigationController alloc] initWithRootViewController:okraWebView];
        AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
        ebViewNavigator.modalPresentationStyle = UIModalPresentationFullScreen;
        [delegate.window.rootViewController presentViewController:webViewNavigator animated:NO completion:nil];
  </code></pre>
  <p>I am trying to replicate it for swift. how do I achieve this?</p>