• 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
Intercepting and modifying WKWebView URL loads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Intercepting and modifying WKWebView URL loads
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: __nw_connection_get_connected_socket_block_invoke 15 Connection has no connected handler
  • Next by Date: Re: Intercepting and modifying WKWebView URL loads
  • Previous by thread: Re: __nw_connection_get_connected_socket_block_invoke 15 Connection has no connected handler
  • Next by thread: Re: Intercepting and modifying WKWebView URL loads
  • Index(es):
    • Date
    • Thread