Iphone doesn’t has back button, to let user easy to quit
app, we can create Quit button use only this line.
exit(0)
If use this command in showing view, it will exit entire
app. In this case, to back to previous screen, we use this command.
self.dismissViewControllerAnimated(true, completion: nil)
No comments:
Post a Comment