Interface Builder in Xcode 12.0 shows blank controller

I have a number of ViewControllers in my app, and one of them doesn't show any of the views/buttons/labels etc in it in the storyboard editing window (their position is highlighted when I click on them, but the whole view is gray. This is my main controller, so it makes Xcode kind of useless. Is anyone else seeing this behavior?
Answered by dcostin-dev in 634383022
OK, figured it out. It's a Detail view (Master/Detail), and on an iPhone Simulated Metrics (5th panel), Size has to be set to Detail rather than Inferred. If Inferred, for iPhones it's covered by the Master, even though obviously on an iPhone it wouldn't be. Looks like a bug.
Not seeing it, sorry.

Did you try doing a clean-build-folder yet?
Clean build folder didn't fix it.
Accepted Answer
OK, figured it out. It's a Detail view (Master/Detail), and on an iPhone Simulated Metrics (5th panel), Size has to be set to Detail rather than Inferred. If Inferred, for iPhones it's covered by the Master, even though obviously on an iPhone it wouldn't be. Looks like a bug.
Thank you for posting the solution to this. Fixed it for me too!
Interface Builder in Xcode 12.0 shows blank controller
 
 
Q