I am trying to add navigation controller to all the viewcontrollers but when I try to do this using the Editor -> Embedded In -> Navigation Controller on the WelcomeViewController (Startup screen), the navigation controller is only added to login and register viewcontrollers and not the Chat viewcontroller. What is it that I'm doing wrong. Maybe the type of segue I make affects how the navigation controller works. I would be helpful if I could find a way to fix this problem using the interface only because I'm a beginner.
Please make NavigationController
as initial controller.
Please follow steps :
Open storyboard
Select NavigationController.
Select "Is initial View Controller" in Attributes inspector.
Next : Please click on register button and drag onto chatViewController
, You can see many option, please select "Show"
Hope its helpful to you...!!