gpt4 book ai didi

ios - 'autorelease is unavailable' 错误和 'ARC forbids explicit message send of autorelease' 错误

转载 作者:可可西里 更新时间:2023-11-01 06:20:52 25 4
gpt4 key购买 nike

我有一个运行良好的应用程序。然后我尝试将导航 Controller 嵌入到 tabbarcontroller 中,接下来我知道我在编译过程中开始遇到这些错误。

有人知道为什么会这样吗?某些设置是否被意外取消或选中?

谢谢,亚历克斯

最佳答案

似乎您以前的工作代码没有使用 ARC,现在您试图将它嵌入到使用 ARC 的代码中......使用“编辑->转换-​​>转换为 Object-C ARC”重构您的代码

关于ios - 'autorelease is unavailable' 错误和 'ARC forbids explicit message send of autorelease' 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17412074/

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