Segue to another storyboard?

后端 未结 6 2013
暗喜
暗喜 2020-11-27 09:04

Is it possible to segue from one storyboard to another, or to embed a storyboard in a view controller in another storyboard? I need to place a UITabBarController

6条回答
  •  伪装坚强ぢ
    2020-11-27 09:34

    You should not place UITabBarControllers in a UINavigationController. It's asking for bugs such as incorrect autorotation/view unloading etc., as Apple doesn't support this sort of containment:

    When combining view controllers, however, the order of containment is important; only certain arrangements are valid. The order of containment, from child to parent, is as follows:

    • Content view controllers, and container view controllers that have flexible bounds (such as the page view controller)
    • Navigation view controller
    • Tab bar controller
    • Split view controller

提交回复
热议问题