属性检查器 xcode 中缺少标识符

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

Identifier missing in attributes inspector xcode

iosxcode

提问by VBK

Xcode version 4.6+ doesn't have the field for setting a storyboard view controller identifierin the attributes inspector tab.

Xcode 4.6+ 没有storyboard view controller identifier在属性检查器选项卡中设置 a 的字段。

Where can I find it?

我在哪里可以找到它?

It used to be in the attributes inspector, like so:

它曾经在属性检查器中,如下所示:

enter image description here

在此处输入图片说明

But now there is only the Title field left:

但现在只剩下 Title 字段了:

enter image description here

在此处输入图片说明

回答by VBK

I found out that in xcode 4.5 the identifier is replaced by Identity > Storyboard ID, which is now in the identity inspector.

我发现在 xcode 4.5 中,标识符被 Identity > Storyboard ID替换,它现在在身份检查器中。

You can see the field below:

您可以看到下面的字段:

enter image description here

在此处输入图片说明