I'm starting to use RxSwift at work and I'm on a project right now where I need to capture clicked links in a web view.
But I can’t get this method :
webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool
from the UIWebViewDelegate to work. It's never called no matter what I do.
I tried to use the DelegateProxy thing but I think I don’t get it...
I’m also trying to figure out what would be a more “Reactive” way to do this.