开发者

Loading screen won't appear on device - Cocoa OS

开发者 https://www.devze.com 2023-01-16 14:48 出处:网络
Hey all, I\'ve created a loading/splash screen that loads at the beginning of my app, just simply showing the company name. It works great on the si开发者_运维问答mulator, but for some reason I just g

Hey all, I've created a loading/splash screen that loads at the beginning of my app, just simply showing the company name. It works great on the si开发者_运维问答mulator, but for some reason I just get a black screen when I load the game on my itouch. Any Ideas? I use the sleep(5); method of creating a loading screen.


Just call the picture "Default.png" and it will show when loading. :)


A better idea than calling sleep would be to present your splash screen as a subview of the root view. When you are ready to dismiss the splash screen use CATransition to fade out your splash screen.

0

精彩评论

暂无评论...
验证码 换一张
取 消