I'm setting a ViewController using the following code: [detailNav setViewControllers:[NSArray arrayWithObject:vc] animated:NO];
When the ViewController is set in iOS 6 and 7, viewWillAppear, viewDidAppear and viewWillDisappear is called.
However, in iOS 5, these methods are not called.
Edit: pushViewController does not work either: viewWillDisappear and viewDidDisappear never get called
UINavigationController
does call these methods. – Léo Natan