My App Went Black in the New iOS4 SDK!
I downloaded the new SDK a while ago and recently decided to recompile Castle Tiles, the action game that I made for the iPad. Much to my chagrin, the screen went completely black after the load screen! After some digging around, I found the solution. (Oh, interwebs, what would I do without you?)
It turns out that they added a new flag for nib files in the new SDK that specifies whether its visible at launch or not. Why add something that totally breaks your previously working code by default?! I have no idea. But to fix it, open up your main nib file (probably “MainWindow.xib”) in the Interface Builder, select the window item, and under the attributes, turn on “Visible at Launch”.
Hopefully that’ll save someone a couple hours of panicked searching through their code.