viewControllers
The view controllers currently on the navigation stack.
@property(nonatomic, copy) NSArray *
Assuming you meant that your navigation controller has three view controllers, you should be able to access the navigation controller from any of three view controllers using self.navigationController
.
So if you want to get the second view controller in the stack, you should do –
UIViewController * viewController = [self.navigationController.viewControllers objectAtIndex:1];
This is assuming that there are at least two view controllers on the navigation controller.