Possible Duplicate:
How to close an application programmatically when the user taps on a button
I haven’t seen any close option in IOS application, Users have to close it from the home button. I want to put the closing option in program, can some body suggest the line of code that I can integrate in my application to close a program. Such as in Action Button.
Thanks
Having an iOS application quit goes against Apple’s UI guidelines. If you submit an application with this feature to the App Store it will get rejected.