I’d like to create a button in my iPhone app that quits the app (with exit(0)) when pressed. Would this be in violation of Apple’s human interface guidelines?
I’d like to create a button in my iPhone app that quits the app
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no real need for this feature from a User Experience POV. Your app should gracefully shut itself down when the kernel asks it to, but otherwise, there’s no reason for it not to be resident in memory, ready to re-launch at a moment’s notice.