I realized that iOS is not working on a form that you can close the application.
I work with PhoneGap version 2.2.0 and I do like to have my application exit button,
I thought about the possibility to move the app to the background and back to the iPhone home page when you click on the button to exit.
I did not find how to do it through PhoneGap
is there a way?
Take a look at this post: https://gamedev.stackexchange.com/questions/17709/can-an-ios-application-have-an-explicit-quit-button
It is quite possible, maybe even likely, that Apple will reject your app for doing this. It should be sufficient for users to close the app simply by pressing the home button.
UPDATE: Just because Android has a button for you to close the app does not mean that one is needed on the iOS version. As other posters have said, conventions are different between the two operating systems.