-2

I've been having trouble when I make a segue in the storyboard in Xcode. If I have two view controllers on the storyboard, it looks good. Once I make the segue connection, the view controller changes on the top. How do I solve this issue? Pictures are attached below.

Picture Before Segue:

enter image description here

Picture After Segue:

enter image description here

This happens after I "control + click and drag" on the button to the next storyboard, then click "Show".

koen
  • 5,383
  • 7
  • 50
  • 89
John
  • 1

3 Answers3

0

This is because the Show presents your new screen with Modal Type. You can change the Navigation to Detail. You can also check this question if you would like to keep the modal Navigation but with the fullscreen.

Renata Faria
  • 515
  • 6
  • 10
0

Select the View Controller which is destination view controller , then go in attributes Inspector and under Presentation tab, select Full Screen.

Coder
  • 508
  • 2
  • 13
0

With your ViewController is selected.

Use Over Full Screen for transparency. enter image description here

vichhai
  • 2,548
  • 2
  • 15
  • 25