title: How to open default browser in Xamarin?
body: <p>I would like to open a web page in Xamarin for both Android and iOS but the code wouldn't work. Can anyone help me figure out what's wrong?</p>
  <p>For Android, clicking the button goes through the code, but nothing happens afterward. For iOS, clicking the button does open a Safari page, but it cannot open the page, and displays a message &quot;Safari could not open the page because the server stopped responding.&quot;</p>
  <p>The test arg passed is: &quot;http://www.google.com&quot;</p>
  <p>Thanks.</p>
  <p>Code:</p>
  <pre><code>    async Task ExecuteLaunchBrowserAsync(string arg)
      {
          if (IsBusy)
              return;
  
          try
          {
              await CrossShare.Current.OpenBrowser(arg, new BrowserOptions
              {
                  ChromeShowTitle = true,
                  ChromeToolbarColor = new ShareColor
                  {
                      A = 255,
                      R = 100,
                      G = 50,
                      B = 255
                  },
                  UseSafariReaderMode = true,
                  UseSafariWebViewController = true
              });
          }
          catch
          {
          }
      }
  </code></pre>