Quit and application

guys how a can add a button to exit i know that application quit doesn’t work
any suggestions guys:face_with_spiral_eyes:

According to Apple guidlines, your app shouldn’t have a quit button. Users exit you app the same way the exit every other app, the home button.

I’m not sure that quit buttons are allowed. You press the home button to leave an app, in which case it’s suspended, and if necessary (such as needing RAM) the OS will remove it. If you want to make the app actually quit when it’s suspended, you can add UIApplicationExitsOnSuspend to the plist. This is for iOS 4 and later; earlier versions always just quit when the home button is pressed.

–Eric