In Android, I can use WebViewClient's shouldInterceptRequest method to custom WebView's handling of certain URL. However, I cannot find anything equivalent in iOS's UIWebView and UIWebViewDelegate. Is there any way I can achieve the same purpose of shouldInterceptRequest in iOS, i.e., allow me to return data for a resource request?
What I want to do is to make the web view support some private image formats(see the question: Can I make Android WebView support other image formats (e.g. TIFF)?).
Any suggestion is appreciated.