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
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.
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.
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.
Free. Cross-platform. Open source. An app platform for building Android and iOS apps with .
NSApplication.SharedApplication.Terminate(this)
or from static methods
NSApplication.SharedApplication.Terminate(NSApplication.SharedApplication);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With