How to let the Program Exitting with a button?
How to let the Program Exitting with a button? And looks lik开发者_如何学JAVAe according to "Home" button animation?
In short, there is no way to do this nicely. Apple puts that control into the hands of the user, so unless you programatically crash your app, there's no way to have a "nice" transition.
Read this answer for an explanation: Proper way to exit iPhone application?
精彩评论