Ejemplo n.º 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)
 {
     Xamarin.Forms.Forms.Init();
     SegmentedControlRenderer.Init();
     LoadApplication(new App());
     TetraPakAppDelegate.OnFinishedLaunching(app, options);
     return(base.FinishedLaunching(app, options));
 }
Ejemplo n.º 2
0
 public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
 {
     return(TetraPakAppDelegate.OnOpenUrl(app, url, options));
 }
 protected override void OnActivated(IActivatedEventArgs args)
 {
     TetraPakAppDelegate.OnActivated(args);
 }
 /// <summary>
 /// Initializes the singleton application object.  This is the first line of authored code
 /// executed, and as such is the logical equivalent of main() or WinMain().
 /// </summary>
 public App()
 {
     this.InitializeComponent();
     this.Suspending += OnSuspending;
     TetraPakAppDelegate.Init(this);
 }