Xamarin iOS - Open URL after opening app

0

Good afternoon,

I need to make 2 very simple applications that only display a splash image, and then open a URL in the browser. I was able to do it easily for Android, but I'm having a hard time developing for iOS on Xamarin.

I tried to use direct on Main, but it is returning error.

static void Main(string[] args) {
       // UIApplication.Main(args, null, "AppDelegate");

        var url = new NSUrl("https://www.google.com.");
        UIApplication.SharedApplication.OpenUrl(url);

    }

Could you help me?

    
asked by anonymous 30.01.2018 / 19:16

0 answers