Possible Duplicate:
Proper way to exit iPhone application?
There are some similar questions but my question has its own significance.
In my application there are some forms and confirmation button.
When user press confirmation at last form i.e. nib file a message (UIAlertView) is shown saying you have confirmed your order.
Then I want my application to quit. How can i accomplish this?
UPDATE:
In my application i have confirmation form.
When somebody click confirm button i have shown UI Alert button saying your order is confirmed.
Because i cant exit application (Apple does not recommend that) i want to show it another view i.e. nib file having label telling user to press home button.
But i have UI Alert view as well which tells success and failure of confirmation dispatch to database.
So how can i accomplish whole process?