If you want to do it for every request inside a WebView, why not just implement
the resource load delegate method this way:
- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier
willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse
*)redirectResponse fromDataSour
I am needing to add HTTP headers to any URL request from a WebView.
I've got it working for direct URLs, but redirect URLs are being missed.
I've tried spawning a NSURLConnection and catching the redirected URL
there, and that works, but I can't seem to stop the original WebView
request, so
2 matches
Mail list logo