When a view loads, i want to see if it\'s because the user pressed the back button. How can i check this?
in your viewWillDisappear method check
- (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:animated]; if ([self isMovingFromParentViewController]) { //specific stuff for being popped off stack } }
This is only for post iOS 5