Hi. How can I exit from application if I pressed the cancel button in terms & conditions window? Thanks
you should not do that because Apple does not allow you to do that.
For this you have to make custom module , its very simple and you have to follow only certain steps :
You can't exit a App in iPhone. Its against Apple policy. Also there is no call to exit a iPhone App. The only way to exit a app is by throwing error, this will crash your app and make your app to exit. We did a app which has a button to exit the current app, the logic we applied is when the user hits the exit button we throw an error like assigning string to integer, etc.. which exits my app by crashing it. Apple approved the app too.
for the case of android refer this link
Think you can help? Login to answer this question!