【发布时间】:2014-04-04 19:00:12
【问题描述】:
我有一个UIWbView,并使用编码的网址加载它:http%3A%2F%2Fwww.google.com%0A
当我调试时,停在:
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
[[request URL] absoluteString] 返回
{ URL: file://http%3A%2F%2Fwww.google.com%0A }
框架加了file://前缀,WHY???我没有要求...:/
【问题讨论】:
-
你能显示一些代码吗??
标签: ios iphone uiwebview nsurl