Пример #1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            tabBarItemiBooze.Image = UIImage.FromFile("drunken_duck_Beer_2_32x32.png");
            tabBarItemInfo.Image   = UIImage.FromFile("missiridia_Universal_information_symbol_32x32.png");
            tabBarItemAbout.Image  = UIImage.FromFile("Copyright.png");

            var aboutUrl = new NSUrlRequest(NSUrl.FromFilename("copyright.html"));

            AboutPage.LoadRequest(aboutUrl);

            var infoUrl = new NSUrlRequest(NSUrl.FromFilename("info.html"));

            InfoPage.LoadRequest(infoUrl);

            // If you have defined a view, add it here:
            window.AddSubview(tabBarController.View);

            window.MakeKeyAndVisible();

            return(true);
        }