Exit app in ios

Exit app in ios

  

Hi,

Tell me a solution to use exit app in ios.


In Android i am using the below code:

navigator.app.exitApp()


Regards,

Sowndarya

Hello,

First of all, you should really reconsider this requirement, since this is not the way iOS works and it goes against Apple's design guidelines.

If you really want this behavior in your app, you could try using this cordova plugin. Of course, you're going to have to create a new module to wrap it. Here's how to do that.