Intercepting and modifying WKWebView URL loads
Intercepting and modifying WKWebView URL loads
- Subject: Intercepting and modifying WKWebView URL loads
- From: Rick Mann <email@hidden>
- Date: Tue, 9 May 2017 18:54:47 -0700
We have a situation in our iOS app that embeds javascript content in a WKWebView. That content makes requests to a third-party (embed.ly), which dislikes the referrer (which in this case is localhost. Yup, our app serves content to itself).
I'd like to intercept all the requests going out from our embedded content and change the referrer in the HTTP request, but I don't know if that's possible.
Is it?
Thanks,
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden