问题描述
我想通过将数据存储在从网络服务获取的SQLite中来动态更新我的应用程序的应用程序图标和启动(加载)屏幕;
I would like to update the application icon and the splash (loading) screen of my app dynamically if possible, by storing the data in SQLite fetched from a webservice
我很确定答案是肯定的,但我想我会得到确认
I pretty sure the answer is going to be no but thought I'd get confirmation
谢谢
推荐答案
您可以通过在您的应用包中添加符号链接来更改Default.png文件:
You can change the Default.png file by putting a symlink in your app bundle:
同样的技术可能适用于Icon.png,但我怀疑它,如果你可以让它工作,我想你必须HUP SpringBoard(你不能在非越狱设备上做)。
The same technique might work for the Icon.png, but I doubt it, and if you could get it to work I imagine you'd have to HUP the SpringBoard (which you can't do on a non-jailbroken device).
除了推送通知之外,Apple似乎已经删除了为您的应用设置徽章的功能(在这种情况下,根据文档只能是一个数字) 。
It looks like Apple has removed the ability to set a badge for your app other than through push notifications (which in that case can only be a number according to the docs).
编辑:此漏洞在3.0中关闭:
This hole was closed in 3.0:
这篇关于动态更改iPhone应用程序图标并加载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!