I've noticed that pressing the iphone button using SDK 4 sends the application in background.
Since I'm dealing with login and other problems I find better closing the app instead of sending it in background status. So I would put an exit(0);
statement inside (void)applicationDidEnterBackground:(UIApplication *)application
.
Is it a correct approach or is against Apple guidelines?