how-to-trap-the-back-button-event
- (void)viewWillDisappear: (BOOL)animated
{
[super viewWillDisappear: animated];
if (![[self.navigationController viewControllers] containsObject: self])
{
// the view has been removed from the navigation stack, back is probably the cause
// this will be slow with a large stack however.
}
}
http://stackoverflow.com/questions/1557290/how-to-trap-the-back-button-event

浙公网安备 33010602011771号