Sharing the Same UIViewController as the rootViewController with Two UINavigationControllers
- 阅读更多 关于 Sharing the Same UIViewController as the rootViewController with Two UINavigationControllers
问题 Update: I have decided to go a different route with my problem. Instead of trying to reuse the same UIViewController directly, I use two vanilla UIViewControllers that are set as rootViewControllers . In their loadView methods, they make a call to [storyboard instantiateViewControllerWithIdentifier:] to get the former UIViewController and set their views to the controller's view. This is probably the preferred approach anyway, since I need to set several variables and delegates. I have a