This project will explain how to intercept the custom calls from UIWebview & WKWebview.
Please go through the medium story to find more explanation about this project and code. https://medium.com/@kumarreddy_b/custom-scheme-handling-in-uiwebview-wkwebview-bbeb2f3f6cc1