1
我一直无法让我的UIWebView改变基于javascript的位置。虽然这可能看起来有点多余,但这是必要的,因为客户的网站在document.location已知时存储cookie。但是,当我尝试访问他网站的下一部分时,它不会打开。UIWebVIew Javascript Document.location
下面是代码
[self.webView stringByEvaluatingJavaScriptFromString:@"document.location = 'http://www.nextLink.com'"];
然而,这似乎并没有做过任何事情。此外document.write方法的作品!
谢谢!
感谢您的帮助! –