实现delegate: shouldStartLoadWithRequest

1
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制作,以知识共享 姓名标示-相同方式分享 4.0 国际 授权条款释出

留言

Jul 5 2011