| Last Revision: | Version 1.1, 2014-08-20 |
| Build Requirements: | Xcode 5.1.1, iOS 7.1 SDK |
| Runtime Requirements: | iOS 7.0 or later |
CustomHTTPProtocol shows how to use an NSURLProtocol subclass to intercept the NSURLConnections made by a high-level subsystem that does not otherwise expose its network connections. In this specific case, it intercepts the HTTPS requests made by a web view and overrides server trust evaluation, allowing you to browse a site whose certificate is not trusted by default.