nsurlprotocol Questions

1

Solved

The NSURLProtocolClient protocol includes a method, -URLProtocol:wasRedirectedToRequest:redirectResponse:, which instances of NSURLProtocol subclasses are supposed to use to tell an URL protocol cl...
Kerstinkerwin asked 18/4, 2012 at 17:43

3

Solved

I override NSURLProtocol and need to return HTTP response with specific statusCode. NSHTTPURLResponse does not have statusCode setter, so I tried to override it with: @interface MyHTTPURLResponse ...
Linseylinseywoolsey asked 8/12, 2010 at 2:47

3

Solved

I have been using the url intercept method to pass data from javascript to objective C by passing the data as url encoded parameters and using NSURLProtocol to intercept the request however I am no...
Pignut asked 21/10, 2010 at 19:54

2

I have an application using a WebKit WebView and I'd like to map URL's that are loaded in this WebView with a custom URL protocol to a different HTTP URL. For example, say I am loading: custom://p...
Pug asked 12/5, 2010 at 6:51

© 2022 - 2024 — McMap. All rights reserved.