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 ?
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 ?
2
Answers
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.
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.
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.