'Show' segue in Xcode 6 presents the viewcontroller as a modal in iOS 7

后端 未结 11 432
离开以前
离开以前 2021-01-01 10:11

I have two view controllers in my iPhone application (built with swift) built with Xcode 6.1 and uses storyboards.

The first view controller is embedded in a navigat

11条回答
  •  -上瘾入骨i
    2021-01-01 10:58

    Basically the answer of Jomafer is partly correct. The controller which you are pushing needs to be preceded by a UINavigationController. You dont really need to push the UINavigationController at all. As long the storyboard knows its within a UINavigationController, all is well.

提交回复
热议问题