腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
未
为
TableView
调用
cellForRowAt
ios
、
swift
、
iphone
、
uitableview
、
ios13
我试图避免将ViewController设置
为
UITableViewDataSource,UITableViewDelegate,这就是我创建第二个类的原因。有什么想法吗?"Stella Artois Premium Lager"), func
tableView
(_
tableView
: UITableView, n
浏览 31
提问于2020-06-08
得票数 0
1
回答
cellForRowAt
indexPath函数
未
调用
- Swift
tableView
swift
、
tableview
我有一个
tableView
显示在我的故事板和预览,但当我运行它在我的设备,它不显示。调试时,我意识到问题似乎在于它从未运行过
cellForRowAt
indexPath函数。编辑:正在
调用
numberOfRowsInSection并返回data.count的2import UIKit
tableView
.dataSource = self
tableView
.reloadData(
浏览 2
提问于2017-08-08
得票数 1
回答已采纳
1
回答
晚了就不工作了
ios
、
swift
当变量击败== "true“时,文本必须
为
红色。func
tableView
(_
tableView
: UITableView,
cellForRowAt
indexPath: IndexPath) -> UITableViewCell {let cell =
tableView
.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as!
浏览 1
提问于2019-05-07
得票数 0
回答已采纳
1
回答
以编程方式设置UITableView数据源将使其异步重装表
ios
、
swift
、
uitableview
我想
调用
tableView
.reloadData(),并确保在此之后呈现表行。问题是,当我在此之前以编程方式设置数据源时,不会发生这种情况。
tableView
.reloadData() } return 1
浏览 10
提问于2019-09-25
得票数 0
回答已采纳
2
回答
仍然得到错误的空数组
swift
、
uitableview
我在
tableView
中仍然有一个错误,我不知道为什么: // an assync call to load products to the productsToDisplay func
tableView
(_
tableView
: UITableView,
浏览 0
提问于2017-03-31
得票数 0
回答已采纳
1
回答
如何处理在绘制时接收到数据更新的表视图?
ios
、
uitableview
()} if flag == true {我观察到的问题是,当
调用
numberOfRowsInSection并且flag
为
f
浏览 0
提问于2016-09-30
得票数 0
2
回答
UITextField不能成为UITableView中的第一个响应者
swift
、
uitableview
、
uikit
、
uitextfield
、
becomefirstresponder
ViewController: UITableViewController{ return model.count} override func
tableView
(_
tableV
浏览 11
提问于2021-11-16
得票数 0
回答已采纳
1
回答
如何使表视图中的单元格在数组的内容更改后对其数据使用数组?
swift
、
uitableview
在第一屏幕上,用户输入数据并保存数据,然后在屏幕二上将数据显示在
tableView
中。然而,我似乎无法让
tableView
适应改变的array。func
tableView
(_
tableView
: UITableView,
cellForRowAt
indexPath: IndexPath) -> UITableViewCell {let cell =
tableview
.dequeueReusableCell(withIdentifier: "cellId"
浏览 0
提问于2019-07-03
得票数 0
回答已采纳
2
回答
tableView
滚动时丢失标题UIButton
swift
、
swift3
以下是points按钮中的代码: let cell =
tableView
.dequeueReusableCell(withIdentifier: "FrendsTableViewCellId", for: indexPathfollowButtonClicked(sender:UIButton)
浏览 6
提问于2018-01-23
得票数 0
回答已采纳
1
回答
TableView
中的
cellForRowAt
未
更新
ios
、
uitableview
、
swift4
我想我已经将问题的范围缩小到第二个表视图控制器的cellForItemAt不会再次被
调用
。} override func
tableView
(_
浏览 3
提问于2018-01-24
得票数 0
回答已采纳
2
回答
swift 3- ViewController不取消选择UITableView中选定的行
ios
、
uitableview
、
swift3
] self.
tableView
(
tableView
,
cellForRowAt
: indexPath).accessoryType = UITableViewCellAccessoryType.checkmark: Ind
浏览 0
提问于2017-02-28
得票数 0
回答已采纳
1
回答
与数组的快速零合并算子
arrays
、
swift
、
null
、
coalescing
UITableViewController {
tableView
.reloadData() override func
tableView
(_
tableView
: UITableView,
cellForRowAt
indexPath: IndexP
浏览 2
提问于2018-05-14
得票数 1
回答已采纳
2
回答
如何保存在UITableView中滚动时消失的复选标记?
ios
、
swift
、
uitableview
下面是我到目前为止掌握的代码:} if
tab
浏览 8
提问于2017-10-22
得票数 2
回答已采纳
3
回答
tableView
.reloadData()表
未
更新
ios
、
swift
、
swift3
我尝试了所有地方的
tableView
.reloadData(),但似乎也不能让它工作。如果有人能解释我哪里错了,那真的会帮助我变得更好。IBAction func sliderSelector(_ sender: Any) {} return arr
浏览 0
提问于2017-08-17
得票数 2
回答已采纳
4
回答
UITableView不显示UITableViewCells
ios
、
swift
、
uitableview
print("An error occured \(error.localizedDescription)") }) return 3 }func
tableView
(_
tableView
: UITableView,
cell
浏览 29
提问于2020-03-07
得票数 1
1
回答
如何将数据传递给嵌入在UICollectionView中的TableViewCell (xCode - iOS - Swift 3)
ios
、
xcode
、
uitableview
、
swift3
、
uicollectionview
我在一个CollectionView中实现了一个TableViewCell,但是我需要读取CollectionView上的set单元格的动态数据。 class MultipleTableViewCell: UITableViewCell { extension MultipleTable
浏览 4
提问于2017-03-07
得票数 1
回答已采纳
3
回答
核心数据导致iPhone崩溃。
swift
、
uitableview
、
core-data
、
iphonecoredatarecipes
: UITableView) -> Int {} print(item)} func
tableView
(_
tableView
: UITableView,
cellForRowAt</em
浏览 2
提问于2018-09-24
得票数 0
回答已采纳
1
回答
在tableviewController内重装数据失败
ios
、
swift
、
uitableview
、
uisearchbar
self
tableView
.reloadData()} 它用EXC_BAD_ACCESS在
tableView
.reloadData()上崩溃了。
浏览 0
提问于2016-11-15
得票数 0
5
回答
在Swift中对静态
TableView
中特定细胞的披露指标
ios
、
swift
、
uitableview
、
swift3
、
indexpath
我创建了一个静态
TableView
,我想添加或删除一个披露指示符,这取决于我们是在咨询自己的帐户还是客户帐户。这就是我想要的:if currentUser我也尝试了
cellForRowAt
indexPath和相同的结果。 我怎么能这么做?
浏览 5
提问于2017-07-07
得票数 2
回答已采纳
2
回答
为
每个区段选择单个单元格时出现的问题
ios
、
swift
、
uitableview
以下是代码: // Deselect the row
浏览 9
提问于2022-01-06
得票数 -1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券