如何在Xcode中的蓝色文件夹中创建一个新的.Storyboard文件?
When I try to create a new file by right clicking a grey folder I get this window
enter image description here
However, when I right click a blue folder to do the same thing I get this single file instead
enter image description here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
蓝色文件夹是文件夹参考。您可能需要将文件夹引用转换为实际文件夹。右键单击并在Finder中打开它,您会看到该路径与项目视图中的路径不同。您可以将其拖到项目中并打勾“创建组”。如果需要,您也可以勾选“复制物品”。
您还可以在不同的目的地上创建故事板,而不是将其拖入所需的文件夹参考。
A blue folder is a folder reference. You might want to convert the folder reference to an actual folder. Rightclick it and open it in finder, you will see that the path is different than in your project view. You can drag it into your project and tick 'Create groups'. You can also tick 'Copy items if needed' if wanted.
You also could create a storyboard on a different destination and than drag it into the desired folder reference.