gpt4 book ai didi

ios - 表格单元格断言失败

转载 作者:塔克拉玛干 更新时间:2023-11-01 19:09:15 25 4
gpt4 key购买 nike

我收到这个错误:

*** Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-2903.2/UITableView.m:5251

但这不应该发生,因为我已经在 Storyboard中声明了单元格标识符:

enter image description here

这是我的代码: enter image description here

我做错了什么?

最佳答案

恢复 ID 与重用标识符不同。您应该输入下图所示的重用标识符,而不是恢复 ID。

Reuse Identifier is entered here

关于ios - 表格单元格断言失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19579098/

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