Is there any way how WebView is loaded with navigation bar (using navigation controller story board) without covering the entire screen?

120 Views Asked by At

enter image description hereWhen I load web view it is covering the entire screen

it is not displaying the navigation bar using a

navigation controller

How to display a web view with navigation bar using a navigation

controller without covering the whole screen

Chatter Webview:

@IBOutlet var chatterWebView: WKWebView?

Loading WebView :

 let webConfiguration = WKWebViewConfiguration()

chatterWebView = WKWebView(frame: .zero, configuration: webConfiguration)

chatterWebView!.uiDelegate = self

 view = chatterWebView

URL Request :

chatterWebView!.load(request as URLRequest)

Navigation bar:-

self.navigationController?.navigationBar.isHidden = false
0

There are 0 best solutions below