Example #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // this needs to be loaded before EVERYTHING
            IosShinyHost.Init(new SampleStartup());

            Forms.Init();
            this.LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Example #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //Acr.Logging.Log.ToDebug();
            IosShinyHost.Init(new TestStartup());
            this.AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly);
            this.AddTestAssembly(typeof(TestStartup).Assembly);
            this.AddTestAssembly(Assembly.GetExecutingAssembly());

            this.AutoStart = false;
            this.TerminateAfterExecution = false;
            //[assembly: CollectionBehavior(MaxParallelThreads = n)]

            return(base.FinishedLaunching(app, options));
        }
Example #3
0
 // if you are using jobs, you need this
 public override void PerformFetch(UIApplication application, Action <UIBackgroundFetchResult> completionHandler)
 => IosShinyHost.OnBackgroundFetch(completionHandler);