Is it possible to set the icon or launch screen in Xcode programmatically?

喜欢而已 提交于 2019-12-12 06:44:53

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/29332176/is-it-possible-to-set-the-icon-or-launch-screen-in-xcode-programmatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!