iOS Swift : can't Retrieve current url loaded in UIwebView
i am working in webview application iOS swift : problem i am facing is i want to get each url which webview displays : upon urls i have to perform some if else checks . but i could not get the urls which webview loads. webview is displaying fine results and loading urls upon clicking . i want to fetch all urls which webview navigates on.. import Foundation import UIKit class seconVC: UIViewController { var toPass:String! var touser:String! var toPassing:String! @IBOutlet weak var webV: UIWebView! @IBOutlet weak var L_back: UIBarButtonItem! @IBOutlet weak var R_frwrd: UIBarButtonItem! override