Re: Intercepting and modifying WKWebView URL loads
site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com On 10 May 2017, at 02:54, Rick Mann <rmann@latencyzero.com> 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 (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn "The Eskimo!"