gpt4 book ai didi

iOS 13 - 我们可以使用 xib 作为启动 Storyboard的启动屏幕吗?

转载 作者:行者123 更新时间:2023-11-29 11:27:35 25 4
gpt4 key购买 nike

正如 Apple 在 WWDC 期间宣布的新要求,即到 2020 年 4 月,所有应用程序都应采用启动 Storyboard,因为它们将弃用启动图像。

我的问题是,我们可以在启动 Storyboard文件上使用启动屏幕 xib 文件吗?还是他们特别推荐使用启动 Storyboard的另一个原因是因为 Storyboard通常更快并且分配的内存更少?

来自 Apple 文档:

In iOS 13 and later, always provide a launch storyboard for your app. > Don’t use static launch images.

最佳答案

找到我的答案!随着昨天 XCode 11 beta 4 的发布,Apple 在其发行说明中包含以下内容:

Your app might fail to build if it contains a launch image. The failure message resembles the following: “The launch image set named did not have any applicable content.” Launch images are deprecated and should be removed; use a launch storyboard or .xib file instead. (50210495)

关于iOS 13 - 我们可以使用 xib 作为启动 Storyboard的启动屏幕吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57064903/

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