Unity-Webview icon indicating copy to clipboard operation
Unity-Webview copied to clipboard

unable to change the url once loaded in webview..!

Open ankush-batra opened this issue 10 years ago • 2 comments

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?

ankush-batra avatar Apr 04 '15 07:04 ankush-batra

I have the same problem...

ladepensy avatar Sep 29 '16 12:09 ladepensy

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 }

FilterGame avatar May 08 '19 07:05 FilterGame