gpt4 book ai didi

ios - 动态启动屏幕图像?

转载 作者:行者123 更新时间:2023-11-29 12:00:41 24 4
gpt4 key购买 nike

随着 iOS 的(相对)新功能从 XIB 文件生成启动屏幕,一个合乎逻辑的问题出现了:是否可以从这些 XIB 引用任何类型的动态资源?一个例子是具有可定制主屏幕的应用程序,这使得一旦用户更改 smth(即背景颜色)就需要调整 XIB 文件?

也许可以从 Documents/文件夹中引用图像或读取一些动态 plist 文件的值?

最佳答案

根据 iOS 人机界面指南,启动文件/图像应该是静态的。

Design a launch image that is identical to the first screen of the app, except for:

  • Text. The launch image is static, so any text you display in it won’t be localized.
  • UI elements that might change. If you include elements that might look different when the app finishes launching, users can experience an unpleasant flash between the launch image and the first app screen.

有关详细信息,请参阅:https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

关于ios - 动态启动屏幕图像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37145141/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com