I want to keep track of when I move from one view to another.
So I created a global bool to keep track of this.
This works, but is it the best practice? Should I make it a property?
Thanks!
bool didNavigateToFullWebView;
viewDidAppear: (BOOL) animated {
if(didNavigateToFullWebView) {
//Load differently depending on the last view visited.
}
}
- (void) tableView: (UITableView*) tableView didSelectRowAtIndexPath: (NSIndexPath*) indexPath {
didNavigateToFullWebView = YES;
}