Embedding a navigation controller in a container - Objective C
问题 How to embed a Navigation controller in a container View? When I place the container the first this that shows is a viewController embed to the container, I want to change that viewController to a navigation view and set it rootViewController and other views 回答1: Basically just add the ViewController into a UINavigationController and set the UINavigationController as your rootViewController. Hope that helps: ViewController *vc = [[ViewController alloc] init]; UINavigationController *nvc = [