rxswift观察WKWebView的URL改变
2020-01-07 本文已影响0人
winlee
webView.rx.observeWeakly(String.self, "URL").subscribe { [unowned self] (next) in
//
}.disposed(by: disposebag)
webView.rx.observeWeakly(String.self, "URL").subscribe { [unowned self] (next) in
//
}.disposed(by: disposebag)