How to quit iphone application when complete
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/355168/proper-way-to-exit-iphone-application">Proper way to exit iPhone application?</a>  </p>
</blockquote>



<p>There are some similar questions but my question has its own significance.</p>

<p>In my application there are some forms and confirmation button. </p>

<p>When user press confirmation at last form i.e. nib file a message (UIAlertView) is shown saying you have confirmed your order.</p>

<p>Then I want my application to quit. How can i accomplish this?</p>

<p>UPDATE:</p>

<p>In my application i have confirmation form. </p>

<p>When somebody click confirm button i have shown UI Alert button saying your order is confirmed. </p>

<p>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. </p>

<p>But i have UI Alert view as well which tells success and failure of confirmation dispatch to database. </p>

<p>So how  can i accomplish whole process?</p>
