Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library For Easy UIWebView Proxy Requests

  •  
  •  
  •  
  •  
  •  

Some time ago I mentioned the WebViewJavascriptBridge for easy communication with Objective-C code from a UIWebView from Marc Westin that has gone on to become an extremely popular and widely used library.

Here’s another handy library from Marcus providing easy proxy requests for UIWebView’s with a number of advantageous features called WebViewProxy.

Some of the features of WebViewProxy include:

Asynchronous or synchronous serving of responsed to intercepted requests (unlike cachedResponseForRequest)
Handy syntax for intercepting all requests, requests from a specific host, or URL path or matching NSPredicate
Methods for easily responding with image, text, html or JSON data
Lower level methods for responding with specific HTTP headers and NSData
Proxying remote requests

You can find WebViewProxy on Github here.

A great library for proxying UIWebView requests without the need to use NSURLProtocol.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments