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?
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With