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