You can try using the category to catch all the relevant method calls (template below). However, be careful with dragons and make sure that you decide to use the system proxy before doing this.
UIWebView + PrivateProxy.h
@interface UIWebView (PrivateProxy)
- (void)loadRequest:(NSURLRequest *)request;
@end
UIWebView + PrivateProxy.m
@implementation UIWebView (PrivateProxy)
- (void)loadRequest:(NSURLRequest *)request {
if(request.something ....) {
} else {
[super loadRequest:request];
}
}
@end
, , , , . , stopLoading ..