Home > Back-end >  Why when I create normal Segue to show the next ViewController it make it like this in the leagueVC
Why when I create normal Segue to show the next ViewController it make it like this in the leagueVC

Time:08-30

Why when I create normal Segue to show the next ViewController it make it like this in the leagueVC Not a fullscreen ?

I want yo show the next screen as fullscreen by using the segue

enter image description here

CodePudding user response:

You need to set the presentation mode on your segue. You can change it in the attributes inspector with the "Kind" dropdown menu:

You want "Present Modally". A "Presentation" dropdown will appear, which you should set to "Full Screen".

enter image description here

CodePudding user response:

Here are two ways to show the next screen as fullscreen by using the segue:

Method 1:

Step 1: Select the segue.

Step 2: Go to the Attributes inspector.

Step 3: Go to the Kind dropdown menu and select "Show (e.g. Push)".

enter image description here

Method 2:

Step 1: Select the segue.

Step 2: Go to the Attributes inspector.

Step 3: Go to the Kind dropdown menu and select "Present Modally"

enter image description here

Step 4: Go to the Presentation dropdown menu and select "Full Screen"

enter image description here

  • Related