I am receiving shouldstartloadwithrequest event and I need to stop request for some conditions. How to stop uiwebview request when shouldstartloadwithrequest? Thank you
I am receiving shouldstartloadwithrequest event and I need to stop request for some conditions.
Share
Check for the condition, then return
NOinshouldStartLoadWithRequest. Make sure to set delegate appropriately and include the UIWebViewDelegate protocol in the interface of the delegate class.