Setting a RootViewController with UINavigationController

1. Delete the UINavigationController if any

2. Select the controller ("optional start view controller" in our case)

3. Click Editor >> Embed In >> Navigation Controller

4. Now select the NavigationController and Right Side Utility area, select the optionIs Initial View Controller

你可能感兴趣的:(Setting a RootViewController with UINavigationController)