XCode 4.2 版本检查器隐藏故事板

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7911658/
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-14 22:14:48  来源:igfitidea点击:

XCode 4.2 Version Inspector Hides Storyboard

xcodeuistoryboard

提问by d2burke

I'm not sure if anyone else is having the problem...but when I click the Version Editor button in XCode...my Storyboard switches to XML view and I can't figure out how to get the Visual editor back.

我不确定其他人是否遇到了问题……但是当我单击 XCode 中的“版本编辑器”按钮时……我的 Storyboard 切换到 XML 视图,我不知道如何恢复 Visual 编辑器。

Can anyone help? I'm really hoping this is just a result of late night coding sleepiness...thanks in advance

任何人都可以帮忙吗?我真的希望这只是深夜编码困倦的结果......提前致谢

enter image description here

在此处输入图片说明

回答by Stuart Breckenridge

Right click on the storyboard file -> Open As -> iOS Storyboard

右键单击故事板文件 -> 打开为 -> iOS 故事板

回答by TomG103

I had this issue (now the year is 2014) and the fix was clicking the icon on the top right for 'Show the Standard Editor' and you'll get your storyboard back. Here's a hint for the youngbloods, it's the one to the right of the bowtie on the tux.

我遇到了这个问题(现在是 2014 年),修复方法是单击右上角的“显示标准编辑器”图标,您将恢复故事板。这是给年轻血统的提示,它是晚礼服领结右侧的那个。

回答by Dave Ferguson

An easier way to do that is to go to the File menu and close the file. I had to close all open storyboards then select them again.

一种更简单的方法是转到“文件”菜单并关闭文件。我不得不关闭所有打开的故事板,然后再次选择它们。

回答by Adam Smaka

maybe you have open version control? press command + return

也许你有开放的版本控制?按命令+回车

回答by tomblah

Remove the reference to MainStoryBoard.storyboard(Right-click → Delete → Remove Reference Only), and drag it back into the project via Finder.

删除对MainStoryBoard.storyboard(右键单击 → 删除 → 仅删除引用)的引用,然后通过 Finder 将其拖回项目中。