UIWebView获取当前加载的URL2011-07-05programming约 37 字 预计阅读 1 分钟文章目录【注意】最后更新于 July 5, 2011,文中内容可能已过时,请谨慎使用。实现delegate: shouldStartLoadWithRequest1 2 3 4 5 6 - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { NSURL* url = [request URL]; self.urlEdit.text = [url absoluteString]; return YES; } 文章作者 Chen, Zai-Chun上次更新 2011-07-05许可协议 CC BY-NC-ND 4.0