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.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Library For Easy UIWebView Proxy Requests

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *