简体   繁体   English

故事板场景未显示在Xcode9中

[英]Storyboard scene not displaying in Xcode9

Updated to Xcode 9 and now some of my storyboard scenes are blocked out as shown below, and won't display in preview. 更新到Xcode 9,现在我的一些故事板场景被屏蔽,如下所示,并且不会在预览中显示。 I can select the controls but obviously editing is severely impaired. 我可以选择控件,但显然编辑受到严重影响。 Based on related posts I tried cleaning the project, deleting derived data, and setting the interface builder document "Opens in" to the earlier version of Xcode, all with restarts. 基于相关的帖子,我尝试了清理项目,删除派生数据以及将界面生成器文档“ Opens in”设置为较早版本的Xcode,并且都需要重新启动。 No results. 没结果。

I've seen Xcode do this before but the issue has worked itself out quickly. 我以前见过Xcode这样做,但是问题很快就解决了。

Any other ideas? 还有其他想法吗?

在此处输入图片说明

I think it's helpful for you In XCode 9: Editor > canvas > show Bounds rectangles. 我认为这对您有帮助在XCode 9中:编辑器>画布>显示边界矩形。 This option show/hide the blue lines. 此选项显示/隐藏蓝线。

after that save project. 之后保存项目。

close the XCode. 关闭XCode。

open the project files. 打开项目文件。

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

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