简体   繁体   English

XCode 8.1并排显示同一文件,没有“ x”按钮可删除第二个窗口

[英]XCode 8.1 shows same file side by side, no 'x' button to remove second window

After a few months of not writing any iOS code I upgraded to XCode 8.1 and opened a project. 几个月不编写任何iOS代码后,我升级到XCode 8.1并打开了一个项目。 Strangely I am seeing two windows (see pasted image below). 奇怪的是,我看到了两个窗口(请参见下面的粘贴图像)。 Annoyingly these two screens move in sync, show the same file, etc, but one cannot be closed. 烦人的是,这两个屏幕同步移动,显示相同的文件等,但是无法关闭。 There is no 'X' at the top to close the window. 顶部没有“ X”关闭窗口。 Has anyone run into this and how can I get rid of one of the screens? 有谁遇到过这个问题,我该如何摆脱其中一个屏幕?

在此处输入图片说明

Probably you activated the version editor without noticing it. 您可能没有注意到它就激活了版本编辑器。 To revert to the standard editor, hit the button on the top right corner of the window with a drawing showing lines justified to the left (right next to a button with two circles and another with arrows). 要还原为标准编辑器,请单击窗口右上角的按钮,其中的图形显示向左对齐的线(右侧为带有两个圆圈的按钮,另一个为带有箭头的按钮)。

Alternatively go to the menu: 或者转到菜单:

View -> Standard Editor -> Show Standard Editor 查看->标准编辑器->显示标准编辑器

or hit the Command + Return keys. 或按Command + Return键。

That should do it. 那应该做。

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

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