Automobile.Mobile.iOS.Automation.iOSBrowser.Navigate C# (CSharp) Метод

Navigate() публичный Метод

Navigate to specified url.
public Navigate ( string url, bool useBaseUrl ) : void
url string /// URL. ///
useBaseUrl bool /// Use the base url or not ///
Результат void
        public override void Navigate(string url, bool useBaseUrl)
        {
            // Anything to to with UI has to go on the main thread
            nso.InvokeOnMainThread(delegate
               	{
                if(useBaseUrl && !url.Contains("://"))
                {
                    url = BaseUrl + url;
                }
                var request = new NSUrlRequest(new NSUrl(url));
                _webView.LoadRequest(request);
            });

            WaitForReady();
        }