iPhone SDK4.0和xcode 3.2.3问题 [英] iPhone SDK4.0 and xcode 3.2.3 issue

查看:41
本文介绍了iPhone SDK4.0和xcode 3.2.3问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在使用iPhone SDK 3.1.3的xcode 3.2.2中构建并运行良好.现在,我使用xcode 3.2.3将SDK升级到4.0,并尝试运行该应用程序.在iPhone Simulator 4中,我能看到的只有打开的启动画面(Default.png),然后是空白的黑色画面.这让我发疯.代码尚未更改,该应用无法加载到最新的xcode/simulator中.尝试了过去线程中建议的几乎所有内容,但还没有运气.

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.

升级到iPhone 3.0 sdk现在模拟器显示空白屏幕

顺便说一句,我在项目中有一个MainWindow.xib,但是我扩展了默认的UIWindow对象.

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.

  1. 在IB中打开主窗口,
  2. 选择窗口"
  3. 在检查员的窗口属性"(cmd +1)下,确保选择了启动时可见"的[Window]属性!
  4. 保存(cmd + s),然后运行!!
    不确定如何将其设置为未选中",说实话,我什至没有意识到,这是一个选项,我猜有些应用程序可以利用此功能,但我想大多数应用程序都需要查看主窗口.
  1. Open mainwindow in IB,
  2. Select the "Window"
  3. Under the inspector's "Window Attributes" (cmd + 1), make sure the [Window] property for: "Visible at launch" is selected!
  4. 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"

这篇关于iPhone SDK4.0和xcode 3.2.3问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆