iPad应用程序仅在更新到iOS4 SDK后显示黑屏 [英] iPad app only shows black screen after updating to iOS4 SDK

查看:201
本文介绍了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.


解决方案:
使用界面生成器打开MainWindow.xib
选择窗口属性中的窗口
检查启动时是否可见和启动时是否全屏。

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天全站免登陆