protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); _app = new Emgu.CV.XamarinForms.App(); LoadApplication(_app); }
public override void DidFinishLaunching(NSNotification notification) { // Insert code here to initialize your application Xamarin.Forms.Forms.Init(); var app = new Emgu.CV.XamarinForms.App(); LoadApplication(app); base.DidFinishLaunching(notification); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); CrossCurrentActivity.Current.Init(this, bundle); CheckAppPermissions(); _app = new Emgu.CV.XamarinForms.App(); LoadApplication(_app); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Xamarin.Essentials.Platform.Init(this, bundle); // add this line to your code, it may also be called: bundle global::Xamarin.Forms.Forms.Init(this, bundle); CrossCurrentActivity.Current.Init(this, bundle); CheckAppPermissions(); _app = new Emgu.CV.XamarinForms.App(); LoadApplication(_app); }