简体   繁体   English

Xcode并排显示两个窗口

[英]Xcode shows two windows side by side

Hello My xcode is showing the screen in half and also not showing storyboard interface builder. 您好我的xcode显示一半的屏幕,也没有显示情节提要界面生成器。 below is the screenshot 下面是截图

在此处输入图片说明

在此处输入图片说明

I have tried to reset the xcode settings as well 我也尝试过重置xcode设置

defaults delete com.apple.dt.Xcode

But it didn't work. 但这没有用。 Please tell me how can I fix this 请告诉我该如何解决

These three buttons up here switch your view. 这三个按钮可以切换您的视图。 Select the left one. 选择左侧的。

在此处输入图片说明

You're actually stuck in the version editor (which looks at your version repository compared with your current code.) 实际上,您陷入了版本编辑器中(该版本编辑器将版本存储库与当前代码进行比较)。

Because storyboard UI can't be viewed with the interface, it shows the underlying xml. 由于无法使用界面查看情节提要UI,因此它将显示底层xml。

Also the keyboard shortcut is command + enter (credit to farzadshbfn) 另外,键盘快捷键是Command + Enter(记入farzadshbfn)

Try click on "Show Standard Editor" button: 尝试单击“显示标准编辑器”按钮:

在此处输入图片说明

Main Storyboard > Right click > Open As > interface Builder - Storyboard 主故事板>右键单击>打开为>界面生成器-故事板

在此处输入图片说明


Click First button to show your view controller. 单击第一个按钮以显示您的视图控制器。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM