Unity-Webview
Unity-Webview copied to clipboard
unable to change the url once loaded in webview..!
Any idea, My web view is opened on two different button clicks but it opens the same url which is loaded the first time in the web view. How can i manage that?
I have the same problem...
After my test There is an error in the second call to LoadURL on iOS You can modify WebView.mm to solve
- (void)loadURL:(const char *)url { NSString *urlStr = [NSString stringWithUTF8String:url]; NSURL *nsurl = [NSURL URLWithString:urlStr]; NSURLRequest *request = [NSURLRequest requestWithURL:nsurl]; [webView loadRequest:request]; //[webView reload]; <----- Delete this line }