Talon Brown
Talon Brown

Reputation: 137

Xcode black bar on top of view controller after connecting segue

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.sstatic.net/SQLLZ.jpg

Does anyone know what might be causing this?

Upvotes: 0

Views: 192

Answers (1)

Eric Hua
Eric Hua

Reputation: 1015

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

Upvotes: 1

Related Questions