I want to make more then 1 web view in my app!

Hello I want to make more then 1 web view in my app I researched but didn’t find anything online can anyone help me?

i still use for my web view a code from YouTube! he works but just on the standard view controller!

in Xcode with storyboard !

not in swift!

Pls

Thx

I used this code:

import UIKit import WebKit class ViewController: UIViewController {

@IBOutlet var mWebKit: WKWebView! let urlMy = URL(string: "https://paparazzodrone.com")

    override func viewDidLoad() { 
   super.viewDidLoad()

            let request = URLRequest(url: urlMy!)
    mWebKit.load(request)
    // Do any additional setup after loading the view.    }

}

If you create several view controllers, you may have several web views.

Or you could have several WKWebView in your VC.

.

works but just on the standard view controller!

What do you mean ? What is the problem ?

I want to make more then 1 web view in my app!
 
 
Q