Sharing the Same UIViewController as the rootViewController with Two UINavigationControllers

前端 未结 3 1862
离开以前
离开以前 2021-02-02 17:13

Update: I have decided to go a different route with my problem. Instead of trying to reuse the same UIViewController directly, I use two vanill

3条回答
  •  清歌不尽
    2021-02-02 17:38

    Definitely a bug in Storyboards. Another way to do this is to create basic UIViewControllers for each UINavigationController, then have a UIContainerView that points to the same UIViewController in each of the basic view controllers.

提交回复
热议问题