导航控制器无法嵌入

发布于 2025-01-30 14:24:02 字数 442 浏览 2 评论 0原文

我一直在使用Xcode版本13.3(13E113)3个月。没有任何问题,但是今天,当我尝试添加导航控制器时,我遇到了以下情况(图1)。

picture1

当我尝试安排视图时,发生这种情况。 (图2)

picture2

,当我尝试删除导航控制器时,Xcode自身封闭。到目前为止,我一直在使用此Xcode,并且多次添加了导航控制器。我不知道会发生什么。我删除了Xcode并再次加载。但是什么都没有改变。

你有什么想法吗?

I have been using XCode Version 13.3 (13E113)for 3 months. Had no any problem about it but today when I tried to add navigation controller, I encountered the following situation (Picture 1).

Picture1

When I try to arrange view, this happens. (Picture 2)

Picture2

And when I try to delete navigation controller, Xcode is closed by itself. I was using this XCode until now and I added navigation controller many times. I do not know what happens. I deleted XCode and load again. But nothing changed.

Do you have any idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

子栖 2025-02-06 14:24:02

我不是为什么,但这是一个错误。它不能通过再次删除和上传xcode来解决它。

这种方法对我有用。添加导航控制器,然后打开Main.Storyboard作为源代码。什么都不做,然后再次将其作为接口构建器打开。完成了。我不知道怎么办。

祝你有美好的一天。

I do not why but it is a bug. It is not resolved by deleting and uploading again XCode.

This method worked for me. Add navigation controller and then open main.storyboard as source code. Do nothing and open it again as interface builder. It's done. I have no any idea how.

Have a good day.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文