• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Intercepting and modifying WKWebView URL loads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Intercepting and modifying WKWebView URL loads (From: Rick Mann <email@hidden>)

  • Prev by Date: Intercepting and modifying WKWebView URL loads
  • Previous by thread: Intercepting and modifying WKWebView URL loads
  • Index(es):
    • Date
    • Thread