iPad 应用升级到 iOS4 SDK 后只显示黑屏 [英] iPad app only shows black screen after updating to iOS4 SDK

查看:20
本文介绍了iPad 应用升级到 iOS4 SDK 后只显示黑屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚打开了一个我一直在开发的 iPad 应用程序,它运行良好,直到现在.我打开它,屏幕仍然是黑色的,即使它已经加载!这是一个 OpenGL,我刚刚下载了 iOS4 SDK.我还添加了一个配置文件.这些更改中的任何一个是否会导致完全黑屏且没有任何错误?

I just opened an iPad app I'd been working on and it was working fine, until now. I open it and the screen remains black, even after it's loaded! It's an OpenGL and I just downloaded the iOS4 SDK. I also added a provisioning profile. Would any of these changes result in a completely black screen with no error for no reason at all?

它加载 MainWindow.xib 但不显示它.它正在思考但不注册触摸事件.到目前为止,这一切都有效.

It loads the MainWindow.xib but doesn't show it. It's thinking but doesn't register touch events. All this was working until now.

推荐答案

解决方案:使用 Interface Builder 打开 MainWindow.xib选择窗口在 Window Attributes 中检查 Visible at Launch 和 Full Screen at Launch.

Solution: open your MainWindow.xib with Interface Builder select the window in Window Attributes check Visible at Launch and Full Screen at Launch.

这篇关于iPad 应用升级到 iOS4 SDK 后只显示黑屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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