iPhone应用程序启动缩放效果
我注意到,当在 iPhone 上启动应用程序时,它们首先显示为小窗口,逐渐变大,直到填满整个屏幕。这些小窗口看起来像应用程序。但是,当在 iPhone 上运行应用程序时,缩放窗口始终为黑色。这是为什么?
I've noticed when starting apps on the iPhone, they first appear as small windows gradually getting bigger and bigger, until filling the entire screen. These small windows look like the applications. However, when running my applications on my iPhone, the zooming windows are always black. Why is that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以将图片添加到项目中,将其命名为 Default.png,尺寸为 320x480,这将使其在启动应用程序时显示。
http://iosdevelopertips.com/cocoa/defaultpng- the-secret-of-the-load-screen.html
You can add a picture to your project, name it Default.png, with the dimensions 320x480, and that will cause it to show when you start up the application.
http://iosdevelopertips.com/cocoa/defaultpng-the-secret-of-the-load-screen.html
这是因为他们正在使用 启动图像。它被缩放为看起来像一个充满屏幕的窗口。
It's because they are using a launch image. It's scaled to look like a window filling the screen.
您需要在应用程序包中创建一个
Default.png
文件。请参阅 应用程序图标和启动图像:You need to create a
Default.png
file in your application bundle. See Application Icon and Launch Images: