iPad app only shows black screen after updating to iOS4 SDK

浪子不回头ぞ 提交于 2019-12-19 04:11:00

问题


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?

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.


回答1:


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




回答2:


Hi Dane.

I know nearly nothing about iPhone/iPod/iPad development, but i think this forum topic might be useful.

http://www.iphonedevsdk.com/forum/iphone-sdk-development/51028-ios4-black-screen-after-updating-sdk.html

And if not. I suppose Apple has also released the iPad simulator along with iOS4 SDK, try debugging your app there.

Hope it helps.




回答3:


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

Yeah, This is what I did to fix it. It wasn't required before but for some reason now it is. I told apple about this in an error report about 3 weeks ago. But, thanks anyway.



来源:https://stackoverflow.com/questions/3128537/ipad-app-only-shows-black-screen-after-updating-to-ios4-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!