c# - How to create a WebView for IOS -
how can implement uiwebview ios in visualstudio using xamarin.ios , c#? can create webview in storyboard how can define url?
and how can current url?
click on webview after adding webview in storyboard, properties show @ right-bottom of vs this:
add name screenshot shows, press enter. can load url webview in .cs file this:
nsurl url = nsurl.fromstring("https://www.google.com"); nsurlrequest urlrequest = nsurlrequest.fromurl(url); webview.loadrequest(urlrequest);
to current url of webview when has loaded url via code:
webview.request.url.absolutestring;
Comments
Post a Comment