在iOS上生成随机默认屏幕 [英] Generating a random default screen on iOS

查看:81
本文介绍了在iOS上生成随机默认屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode中的一个先决条件是设置iPhone应用程序加载时的默认和默认@ 2x图像。

One of the prerequisites within Xcode is setting the 'Default' and 'Default@2x' images for when the iPhone app loads up.

是否可以有多个默认屏幕,以png格式插入到项目中,每次加载应用程序时,选择一个随机默认屏幕使用?

Is it all possible to have a number of Default screens made, inserted into the project in png format and each time the app is loaded, choose a random default screen to use?

推荐答案

您无法更改Default.png。一旦应用程序发货 - 它就是一成不变。直到下一个版本,就是这样。原因很简单(同样为什么你不能改变应用程序图标)。 App的捆绑包是只读的。它是只读的,因为它是由你和苹果签署的。修改捆绑包的内容会使签名无效。

You cannot change Default.png. Once the app is shipped - it's "set in stone". Until the next release, that is. The reason is simple (and same why you can't change apps icon). App's bundle is read-only. It is made read only because it is signed by you and by apple. Modifying the contents of the bundle would invalidate the signature.

这篇关于在iOS上生成随机默认屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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