예제 #1
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow (UIScreen.MainScreen.Bounds);

            #if DEBUG
            PSPDFLogging.LogLevel = PSPDFLogLevelMask.Info | PSPDFLogLevelMask.Warning | PSPDFLogLevelMask.Error;
            #endif

            Console.WriteLine (PSPDFLicenseManager.SetLicenseKey (PSKey));

            viewController = new DVCMenu ();
            navController = new UINavigationController (viewController);
            window.RootViewController = navController;
            window.MakeKeyAndVisible ();

            return true;
        }
예제 #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // Set your license key here. PSPDFKit is commercial software.
            // Each PSPDFKit license is bound to a specific app bundle id.
            // Visit https://customers.pspdfkit.com to get your license key.
            PSPDFKitGlobal.SetLicenseKey("YOUR_LICENSE_KEY_GOES_HERE");

            Window = new UIWindow(UIScreen.MainScreen.Bounds);

            // Apply the PSPDFKit blue
            Window.TintColor = UIColor.FromRGBA(0.110f, 0.529f, 0.757f, 1f);

            viewController            = new DVCMenu();
            navController             = new UINavigationController(viewController);
            Window.RootViewController = navController;

            Window.MakeKeyAndVisible();
            return(true);
        }