gpt4 book ai didi

ios - TableView 单元格在设备上不可见

转载 作者:行者123 更新时间:2023-11-29 00:03:34 25 4
gpt4 key购买 nike

我是 iOS 应用程序开发的初学者,所以我可能犯了一些简单的错误:)

目前在 StoryBoard 中,我已经添加了 Table View 并在其子项中创建了 Table View Cell,但是当我在 Simulator 中运行该应用程序时,我发现没有单元格条目。

我也尝试过使用 Table View Controller,因为我读到您不能在 Table View 中创建静态单元格。

请检查以下屏幕截图:

表格 View 单元格

enter image description here

TableView Controller

enter image description here

我被两种方法困住了。

最佳答案

从内容中选择静态单元格

enter image description here

设置高度

enter image description here

关于ios - TableView 单元格在设备上不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48748429/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com