Phonegap: force an app to quit instead of running in background
I'm developing an iPhone/iPad application through Phonegap, is there a way to implement a sort of "click here to quit app"? I mean quit for real, not "put it in the background and go to home screen". Thanks in advance. you can use following code to quite your app on click, device.exitApp() OR navigator.app.exitApp() Hope this may help you. is there a way to implement a sort of "click here to quit app"?' Yes, there is a way for really exiting the app and killing its process. But never do that. Not only because Apple rejects your app if you do this. The problem with this is bad user experience.