Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Would a button to exit my iPhone app be in violation of Apple's guidelines? [closed]

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?

like image 262
S.J. Lim Avatar asked Aug 23 '11 00:08

S.J. Lim


2 Answers

Apple discourages you from doing this and it's very likely you'd be rejected from the App Store. Also, this behavior is unnecessary. What are you trying to accomplish?

like image 69
kubi Avatar answered Sep 25 '22 16:09

kubi


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.

like image 42
Shaggy Frog Avatar answered Sep 23 '22 16:09

Shaggy Frog