exit(0)

In terms of the review/approval process, is it ok to use exit(0), under the following circumstance?

  • An alert dialog pops up explaining that the app cannot be used on rooted or jailbroken devices.

  • There is a button labeled "Exit App"

Or should I just let the app sit there doing nothing on the splash screen?

Answered by darkpaw in 815897022

No. This is a terrible user experience.

You should display a modal view that takes over the entire screen, and cannot be dismissed, that explains why the app cannot function.

That's it. You don't need to give the user a button to kill the app. It's unnecessary and a horrible experience.

Accepted Answer

No. This is a terrible user experience.

You should display a modal view that takes over the entire screen, and cannot be dismissed, that explains why the app cannot function.

That's it. You don't need to give the user a button to kill the app. It's unnecessary and a horrible experience.

exit(0)
 
 
Q