Hi all,
I have a Root View Controller and 3 other view controllers (First View Controller, Second View Controller, Third View Controller). I added First View Controller as a subview of Root View Controller, second View Controller as a subview of First View Controller, Third View Controller as a subview of Second View Controller by using addSubview method. I can switch from Third View Controller to Second View Controller by using [self.view removeFromSuperview]. But how to switch from Third View Controller to First View Controller? Is it add the First View Controller as a subview of Third View Controller? Am I doing something wrong?
Any comments and suggestions are welcome. Thanks a lot.
I have a Root View Controller and 3 other view controllers (First View Controller, Second View Controller, Third View Controller). I added First View Controller as a subview of Root View Controller, second View Controller as a subview of First View Controller, Third View Controller as a subview of Second View Controller by using addSubview method. I can switch from Third View Controller to Second View Controller by using [self.view removeFromSuperview]. But how to switch from Third View Controller to First View Controller? Is it add the First View Controller as a subview of Third View Controller? Am I doing something wrong?
Any comments and suggestions are welcome. Thanks a lot.