0

我已经尝试过这段代码,但无法让它工作。提前致谢。

(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:
 (NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
  [[NSUserDefaults standardUserDefaults] saveObject:
   [[request URL] absoluteString] forKey: @"SAVED-URL"];
}
4

0 回答 0