Xcode black bar on top of view controller after connecting segue

177 Views Asked by At

I have a problem with my Xcode project. The problem is that when I link one of my view controllers up to another with a segue a weird black bar appears on the top. Here's a video of that problem.

https://i.stack.imgur.com/SQLLZ.jpg

Does anyone know what might be causing this?

1

There are 1 best solutions below

0
Eric Hua On BEST ANSWER

This is because the segue to the second ViewController is a "show", and the second VC will show like this:

enter image description here

If you want this VC to be full screen, click on the segue you created, change the "Kind" property to "Present Modally", and the "Presenttion" property to "Full Screen":

enter image description here