Empty screen when debugging
When attempting to debug (Run -> Debug), the "waiting for debugger" dialog appears, and subsequently disappears. The simulator starts up to the home screen, I click on my app, and all that happens is a black screen appears. No breakpoints are hit, and开发者_运维百科 the application never appears to do anything. Simply running the application without debugging works as expected. Any ideas?
If you haven't fixed this already - the same thing happened to me. And as Driss says in the comments having a folder called Resources
in your project gives the iPhone Simulator a heartattack and crashes it from the looks of things, without even copying your app bundle to the simulator directory.
I think I had a very similar issue. Did this happen with your project "all of a sudden?", did you rename your View's .xib file? did you have a NavigationController then delete it and now have this issue?
Can you also please post your "FinishedLaunching" code from your Main.cs please.
Driss.
精彩评论