简体   繁体   English

表格视图单元在设备上不可见

[英]Table View Cell not become visible on device

I am beginner with iOS application development so it may be that I am doing some easy mistake :) 我是iOS应用程序开发的初学者,所以可能是我在犯一些简单的错误:)

At present in StoryBoard, I have added Table View and created Table View Cell within its child but when I run the application in Simulator, I found no entry of cell. 目前,在StoryBoard中,我已经添加了Table View并在其子级中创建了Table View Cell,但是当我在Simulator中运行该应用程序时,没有找到Cell的条目。

Also I tried with Table View Controller too because I read that you can't create static cells in Table View. 我也尝试过使用Table View Controller,因为我读到您无法在Table View中创建静态单元格。

Please check the following screenshots: 请检查以下屏幕截图:

Table View Cell 表格视图单元格

在此处输入图片说明

Table View Controller 表格视图控制器

在此处输入图片说明

I am stuck in both approaches. 我陷入这两种方法。

Select static cells from content 从内容中选择静态单元格

在此处输入图片说明

to set height 设定高度

在此处输入图片说明

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

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