|
@@ -211,7 +211,11 @@ static float kprogressViewRadius = 2.0f; |
|
@@ -211,7 +211,11 @@ static float kprogressViewRadius = 2.0f; |
211
|
- (void)loadWebUrl:(NSString *)url
|
211
|
- (void)loadWebUrl:(NSString *)url
|
212
|
{
|
212
|
{
|
213
|
self.startPage = url;
|
213
|
self.startPage = url;
|
214
|
- [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
|
214
|
+ NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:url]];
|
|
|
215
|
+ if ([self.delegate respondsToSelector:@selector(explorerWillLoadRequest:)]) {
|
|
|
216
|
+ [self.delegate explorerWillLoadRequest:request];
|
|
|
217
|
+ }
|
|
|
218
|
+ [self.webView loadRequest:request];
|
215
|
}
|
219
|
}
|
216
|
|
220
|
|
217
|
- (void)loadHTMLString:(NSString *)html
|
221
|
- (void)loadHTMLString:(NSString *)html
|