Iam developing an application in which there is a AlertView which has 2 button saying "OK" "Cancel" by pressing OK button My application will exit and goto the home screen of iphone so i used exit(0) code, does apple allows to exit in this way or there is any other way to the exit from the application? Please suggest some solution?
Thank You...