My project is View based and contain 3 controller ,
the first controller contain picker view if user select item from it.
the second controller display.
and the second controller contain button when user touch inside this button
the three controller display.
Now my problem I want hide the first controller when the second display
hint : the first controller is UIViewController
and SecondController is UINavigationController
How hide view Controller ? becouse when secondController display I show in header part of firstController
the first controller contain picker view if user select item from it.
the second controller display.
and the second controller contain button when user touch inside this button
the three controller display.
Now my problem I want hide the first controller when the second display
hint : the first controller is UIViewController
and SecondController is UINavigationController
How hide view Controller ? becouse when secondController display I show in header part of firstController