是否可以通过编程方式在Xcode中设置图标或启动屏幕? [英] Is it possible to set the icon or launch screen in Xcode programmatically?

查看:146
本文介绍了是否可以通过编程方式在Xcode中设置图标或启动屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序可供不同客户使用,每个客户端都有轻微的调整,包括不同的图标和启动屏幕。是否有可能对应用程序进行编程以从服务器中获取这些图像并使用它们,或者我是否需要以正常方式手动将它们放入应用程序的每次迭代中?

I have an app that would get used by different clients with slight tweaks for each client, including a different icon and launch screen. Is it possible to program the app to grab those images off of a server and use them, or would I need to manually put them into each iteration of the app the normal way?

推荐答案

使用公共 API 应用程序图标 >以及在运行时更改启动屏幕。您可以创建某种假 - 启动屏幕,这将是您应用中的第一个 UIViewController 在被呈现后自动解雇。

It is impossible to change the App Icon programmatically using only public API as well as change launch screen at runtime. You may create some kind of "fake"-launch screen, that will be the first UIViewController in your app and will dismiss automatically short after being presented.

这篇关于是否可以通过编程方式在Xcode中设置图标或启动屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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