stack: Only one mouthful , advanced out ;push into the stack ; pop out Stack ;
// queue: There are two ports , FIFO first;
// navigation controller : container ; Implement the jump between the View controller interface ;
Uinavigationcontroller * nav = [[uinavigationcontroller alloc] Initwithrootviewcontroller: FIRSTVC];
//// When you put a view controller into the navigation controller, the properties of the View controller Navigationcontroller will be assigned values to record nav; Firstvc.navigationcontroller can find navigation; Firstvc.navigationcontroller = nav;
// navigation bar : One navigation controller with only one navigation bar ;
//Nav.navigationBar.hidden = YES;
Locate this view controller in the navigation controller ; Note: You cannot create a new one because it is not the one that was originally created in the navigation controller ;
nsarray * viewcontrollers = self. Navigationcontroller. Viewcontrollers ;
Uiviewcontroller * VC = viewcontrollers[1];
[self. Navigationcontroller POPTOVIEWCONTROLLER:VC Animated:YES];
Poptoviewcontroller:animated: out of the stack until the specified view controller stack is at the top; the return value is An array of view controllers that are out of the stack ;
Find all the current view controllers in the navigation controller