iPhone:启动标签页应用程序的图片? [英] iPhone: launch image for tab app?

查看:59
本文介绍了iPhone:启动标签页应用程序的图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于选项卡的iPhone应用程序,我想在其中使用启动图像来提高启动速度.如

I have a tab-based iPhone app where I want to increase the perceived start-up speed with a launch image. As defined by the iPhone HIG, the launch image is a screenshot of your app (called Default.png) that is displayed immediately and looks very similar to the app's first screen (e.g., the screenshot of an empty table when the app displays a table first).

基于选项卡的应用程序现在存在的问题是,用户可以重新排列选项卡的顺序,以便任何选项卡都可以成为启动时显示的第一个选项卡.我想我读过某个地方,您无法在您的应用中以编程方式更改 Default.png ,但在HIG中却找不到(并且"Clock"应用似乎完全可以做到这一点-每个标签有一个启动图像).

Now the problem with a tab-based app is that users can rearrange the order of tabs so that any of the tabs may be the first tab to show upon launch. I think I read somewhere that you can't change the Default.png programmatically in your app, but I couldn't find that in the HIG (and the "Clock" app seems to do exactly that - having one launch image per tab).

那么,如何为基于选项卡的应用程序提供启动图像?

So, how do provide a launch image for a tab-based app?

推荐答案

就像您所说的那样,没有办法以编程方式更改 Default.png (至少没有什么能使Apple脱颖而出)拒绝您的应用).
这意味着您希望显示一个 Default.png ,其底部仅带有一个黑色边框",而不显示任何选项卡栏项.
时钟应用程序是操作系统随附的默认应用程序,因此其功能比任何App Store应用程序都强大.这只是Apple将这些应用程序包含在系统中而不是使其成为App Store应用程序的原因之一.

There is, like you said, no way to programmatically change the Default.png (at least nothing that won't make Apple reject your app).
This means you'd want to display a Default.png which has just a "dark border" on the bottom, without showing any of the tab bar items.
The clock app is a default app that comes with the OS, therefore it has more power than any of the App Store apps. This is just one of the reasons for Apple to include these apps in the system instead of making them an App Store app.

这篇关于iPhone:启动标签页应用程序的图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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