简体   繁体   English

Xcode-故事图板不显示自定义表格视图单元格字段的问题

[英]Xcode - Issues with storyboard not displaying custom table view cell fields

Im new to swift and xcode. 我是swift和xcode的新手。 Im creating a table view with custom cells. 我用自定义单元格创建表格视图。 It happens that when create a custom cells and save it, the next time I open Xcode the custom cell does not show anymore the UILabels I have. 碰巧,当创建一个自定义单元格并保存它时,下次我打开Xcode时,自定义单元格不再显示我拥有的UILabel。 They seems to be disabled for some reason.Im using Xcode 6.4 它们似乎由于某种原因被禁用。我正在使用Xcode 6.4

As you can see in the picture, there is some UILabels and even an image but they seems like disabled and they dont show up on Xcode. 如您在图片中所看到的,有一些UILabel甚至是图像,但是它们似乎已被禁用,并且不会显示在Xcode上。

What is the issue? 有什么问题

在此处输入图片说明

you have to select the size class. 您必须选择尺码等级。 currently yours is set to any any. 当前您的设置为任何。 that is why they are grayed out. 这就是为什么它们变灰的原因。 hope this helps. 希望这可以帮助。

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

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