xcodepushshowpresentmodalviewcontrollerxcode15

Xcode Show segue in Xcode 15 presents the viewcontroller as a modal


I have a very simple setup, where when the user clicks sign up or login, it should bring them to the respected viewcontroller using the Show (e.g. Push). However, it is presented modally when the app is used on a device. Not sure what the issue could be.

It should be presented using the Show (e.g. Push) on the physical device.

Xcode ScreenshotiPhone Screenshot


Solution

  • There's just a weird glitch with the main.storyboard file. Making a new project fixes the issue.