gpt4 book ai didi

xcode - 禁用 Storyboard警告

转载 作者:行者123 更新时间:2023-12-02 23:29:29 27 4
gpt4 key购买 nike

我避免在我的 swift 代码中收到警告。然而,当谈到 Storyboard要求时,这对我来说有点困难。

所以现在我只想禁用 xcode 显示有关 Storyboard问题的警告。

我尝试了以下方法但没有成功:

enter image description here

最佳答案

禁用显示警告选项

正如您所提到的,Interface Builder Storyboard Compiler -Options 下的选项 Show warnings 必须保留为 no,以抑制与 Storyboard 相关的警告。

你错过了什么

此外,您还可以从问题导航器中警告选项卡的右下位置启用和禁用此选项。

示例:

enter image description here

这样您就可以轻松切换。

关于xcode - 禁用 Storyboard警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45559267/

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