My app was building and running well in xcode 3.2.2 with iPhone SDK 3.1.3. Now, I upgraded the SDK to 4.0 with xcode 3.2.3 and tried running the app. All I could see there after in the iPhone Simulator 4 is the opening splash screen (Default.png) followed by a BLANK BLACK screen. This is driving me nuts. No change in code yet, the app fails loaded in the latest xcode/simulator. Tried just about everything suggested in this past thread but no luck yet.
Upgrade to iPhone 3.0 sdk and now simulator shows blank screen
Btw, I have a MainWindow.xib in my project but I have extended the default UIWindow object.
I had this same issue, found an answer in the thread that you posted that worked for me, not sure why it changed this value on my previously launched and active apps as well, but fixed the issue, resolved.
- Open mainwindow in IB,
- Select the "Window"
- Under the inspector's "Window Attributes" (cmd + 1), make sure the [Window] property for: "Visible at launch" is selected!
- Save (cmd + s) and then run!!
Not sure how this got set to Unchecked, honestly I wasn't even aware that this was an option, guess some apps could make use of this, but I would imagine that most apps need to see the main window.
Hope this helps you out, was a life saver for me, I was going nuts trying to figure out the "Black Screen"