How do i get my WKWebview browser to open links in the same browser, currently if i click a link it doesnt do anything and only lets me open it in safari. How can i fix this so that when a link is clicked it opens in the same WkWebView browser?
import UIKit
import WebKit
class ViewController: UIViewController, WKNavigationDelegate {
@IBOutlet weak var webView: WKWebView!
//Web View
override func viewDidLoad() {
super.viewDidLoad()
let url = URL(string: "http://tweetdeck.twitter.com/")
let request = URLRequest(url: url!)
webView.load(request)
webView.navigationDelegate = self
}