Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to kill application in Xamarin.Mac

How can i kill the application in xamarin.mac I cant find this.dispose or Application.Exit in xamarinMac So How can I kill the application in Xamarin Mac

like image 835
Optimus Avatar asked Mar 06 '14 05:03

Optimus


People also ask

How do I close an application in Xamarin?

When building a Xamarin. Forms project on Android platform, all pages are shown on the MainActivity. To close the app, you could call the Finish method of MainActivity using DependencyService.

Is Xamarin only for mobile development?

And while Xamarin targets mobile development for Android and iOS devices, it allows developers to share the underlying code with any platform compatible with . NET - including Windows, macOS, Linux, and more.

Is Xamarin native?

Xamarin Native is a set of Xamarin's native tools for app development. The platform has individual tools for Android, iOS, and Windows development. These environments are adapted specifically to these OSs, and the codebase is adjusted to fit very particular hardware requirements.

Is Xamarin forms free?

Free. Cross-platform. Open source. An app platform for building Android and iOS apps with .


1 Answers

NSApplication.SharedApplication.Terminate(this)

or from static methods

NSApplication.SharedApplication.Terminate(NSApplication.SharedApplication);
like image 160
ulmer-morozov Avatar answered Sep 20 '22 05:09

ulmer-morozov