xcode Xcode运行按钮消失

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33754124/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:12:45  来源:igfitidea点击:

Xcode run button disappearing

iosxcodebutton

提问by LorenzOliveto

I have a problem with Xcode 7.1.1. The upper part of the UI (the container of the run button, manage scheme etc.) keeps disappearing when I close another opened project. If I have two project opened, closing one, the problem occcurs. I can't bring it back, the only option that I have is to close Xcode and open it again. Here's some screenshot of the page and the view menu. The toolbar is visible, you can see it in the second and third screenshot, but its content it's hidden. Anyone having the same problem or some solutions?

我的 Xcode 7.1.1 有问题。当我关闭另一个打开的项目时,UI 的上部(运行按钮的容器、管理方案等)不断消失。如果我打开两个项目,关闭一个,就会出现问题。我不能把它带回来,我唯一的选择是关闭 Xcode 并再次打开它。这是页面和视图菜单的一些屏幕截图。工具栏是可见的,您可以在第二个和第三个屏幕截图中看到它,但它的内容是隐藏的。任何人有同样的问题或一些解决方案?

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

回答by Imran

XCode will open the project with the interface configured the same way as the last file that was opened. If your interface is opening with the toolbar and project navigator minimized it means that you double clicked a file and opened it in its own window. XCode thinks that this was the last file opened so it uses this as the default.

XCode 将使用与上次打开的文件相同的方式配置界面来打开项目。如果您的界面在工具栏和项目导航器最小化的情况下打开,则意味着您双击了一个文件并在其自己的窗口中打开了它。XCode 认为这是最后打开的文件,所以它使用它作为默认值。

To resolve right click on the top of the window and selecting "show toolbar" enter image description here

要解决右键单击窗口顶部并选择“显示工具栏” 在此处输入图片说明

You can also hide same way by right clicking and hide toolbar. enter image description here

您也可以通过右键单击并隐藏工具栏来以相同的方式隐藏。 在此处输入图片说明

回答by al_mota

Keyboard shorcut: cmd+ alt+ TOr in the menu: View>Show Toolbar

键盘快捷键:cmd+ alt+ T或在菜单中:查看>显示工具栏

回答by Javier Calatrava Llavería

For showing:

用于展示:

enter image description here

在此处输入图片说明

... and for hidding:

...和隐藏:

enter image description here

在此处输入图片说明

回答by TheAppMentor

In XCode Preferences. You can set the behaviour of the toolbar. I suspect,it must be set to hide.enter image description here

在 XCode 首选项中。您可以设置工具栏的行为。我怀疑,它必须设置为隐藏。在此处输入图片说明

回答by Sai Gopi N

iused this way and worked for me

用这种方式对我来说有效

View -> Show Toolbar

查看 -> 显示工具栏