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

后端 未结 11 572
离开以前
离开以前 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:54

    I am using XCode 9 with Swift 4. Note this version came out yesterday (September 20th).

    For me this was just a caching bug. I had to choose "Present Modally", run the app and then choose "Show (e.g. Push)". Now everything works fine.

提交回复
热议问题