Upgrade to iPhone 3.0 sdk and now simulator shows blank screen

前端 未结 8 1374
轻奢々
轻奢々 2021-01-13 08:47

I have an iPhone app that uses an UITabBarController, which contains two UINavigationControllers, each of which in turn contains one or more TableViewControllers (actually,

8条回答
  •  醉话见心
    2021-01-13 09:13

    If you're building your window purely in code, be sure to remove the MainWindow.xib from the properties in your target.

    If that's not the problem, I have had similar issues before with apps behaving strangely on launch. I'm not sure what the root cause, so it's trial and error for me:

    1) Try deleting the build directory and rebuilding.

    2) Set the base SDK to iPhone Device 3.0. (The base SDK is overwritten when you build for the simulator anyway)

    3) I also had an issue one time where the project plist file and MainWindow.xib got deleted from my project accidentally, and it caused this identical issue. Double check to make sure they are in your project structure if you are using MainWindow.xib.

提交回复
热议问题