Creating webViews programmatically in Swift
I want to create something like an image gallery in my ViewController. For this, I'd need multiple webViews, depending on the number of images that I get from a JSON request. How can I insert new webViews if I need to? As you can see in the above image, I have a scrollView and one UIWebView inside of the ViewController. How would I create a new webView inside of the first(second, third, etc.) if necessary? Is it possible? you can create the web view programatically as simple as possible use this piece of code override func viewDidLoad() { super.viewDidLoad() let webV:UIWebView = UIWebView