Re: Intercepting and modifying WKWebView URL loads
Re: Intercepting and modifying WKWebView URL loads
- Subject: Re: Intercepting and modifying WKWebView URL loads
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 10 May 2017 07:46:26 +0100
On 10 May 2017, at 02:54, Rick Mann <email@hidden> wrote:
> Is it?
No. You can do this with UIWebView, because it does its networking in process, which allows you to ‘see’ the requests via an NSURLProtocol subclass [1]. However, this doesn’t work with WKWebView because it does all of its networking out of process.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
[1] See the CustomHTTPProtocol sample code.
<https://developer.apple.com/library/ios/#samplecode/CustomHTTPProtocol/>
_______________________________________________
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