clusion
clusion

Reputation: 3

Main.storyboard is pitch black

I've been coding in Xcode for a long time but I've never used the storyboard. When I opened it up I got this pitch-black.

Does any one know how to fix this ?

does any one know how to fix this

Upvotes: 0

Views: 1011

Answers (2)

joshmitchell99
joshmitchell99

Reputation: 51

For me, I had a datepicker set to inline mode, and it messed things up. I'd try and recall if you did anything that Xcode didn't like before it went black, and try and reverse that.

Upvotes: 0

aheze
aheze

Reputation: 30308

A lot can cause a black screen. I think, most likely, you are currently previewing dark mode. You can switch back to light mode by clicking View as and changing the appearance.

Or, the background color of the view might be set to black (probably not the case though). You can change this in the attributes inspector.

Black color System background color

System Background Color is white in light mode, and black in dark mode.

And there's always the possibility that Xcode is glitching. In that case, quit and relaunch.

Upvotes: 1

Related Questions