I am trying to update on a UIWebView to load a website. UIWebView code is pretty simple
import UIKit class ViewController: UIViewController { @IBOutlet weak var WebView: UIWebView! override func viewDidLoad() { super.viewDidLoad()
Does anyone have some kind of example, because no matter what I'm looking for, I only found pull to update in tableviews, and I'm not sure if it will work with this either.
Thanks.
Update 1. After the Sohil suggestion, the code is as follows
import UIKit class ViewController: UIViewController { @IBOutlet weak var WebView: UIWebView! @IBOutlet weak var scrollView: UIScrollView! override func viewDidLoad() { super.viewDidLoad()
But it doesn't even print βnothingβ when I try to restart it.
source share