腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(2704)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
实现
heightForRowAtIndexPath
cellForRowAtIndexPath:(NSIndexPath *)indexPath { tableView:
heightForRowAtIndexPath
浏览 2
修改于2014-10-18
得票数 0
回答已采纳
1
回答
heightForRowAtIndexPath
崩溃
我有以下代码: - (CGFloat)tableView:(UITableView *) tableView
heightForRowAtIndexPath
:(NSIndexPath *) indexPath
浏览 0
提问于2011-02-21
得票数 1
回答已采纳
4
回答
更改tableView:
heightForRowAtIndexPath
- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
:(NSIndexPath *)indexPath {
浏览 0
修改于2013-03-21
得票数 2
2
回答
嵌套UITableVIew
heightForRowAtIndexPath
styling for outer cell and passing data for inner cells - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
浏览 4
提问于2014-02-24
得票数 0
1
回答
从
heightForRowAtIndexPath
调用numberOfRowsInSection
我需要我分区中的最后一个表格单元格与其他单元格的高度不同,所以我基本上是这样做的: - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
然后,它调用
heightForRowAtIndexPath
,再次传递indexPath 0,0!它会不停地做这件事。
浏览 0
提问于2010-12-08
得票数 13
回答已采纳
1
回答
TableView和
heightForRowAtIndexPath
下面是我的代码: - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
:(NSIndexPath *)indexPath
浏览 0
修改于2012-10-02
得票数 0
2
回答
调用
heightForRowAtIndexPath
太早
我目前正在通过Json获取Twitter feed,在我可以获取tweet的长度之前,
heightForRowAtIndexPath
已经被调用了。因此,当
heightForRowAtIndexPath
加载时,fullTweet.length始终为零。我正在尝试像这样调整单元格的大小,这样我就不会浪费任何额外的空格。- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
:(NSIndexPath *)indexPath { if(fullTweet.lengt
浏览 0
修改于2013-06-02
得票数 2
回答已采纳
2
回答
手动调用
heightForRowAtIndexPath
override func tableView(tableView: UITableView,
heightForRowAtIndexPath
indexPath: NSIndexPath) -> CGFloat
浏览 2
修改于2015-06-23
得票数 0
1
回答
动态UITableView
heightForRowAtIndexPath
我正面临这样的问题:
浏览 1
提问于2015-06-10
得票数 0
1
回答
UITableView忽略
heightForRowAtIndexPath
我的方法tableView:
heightForRowAtIndexPath
: 是调用的,它返回正确的高度(这也改变了多行等,没有问题)。我确认它被称为,因为它里面有一个断点。但是,我的表视图仍然显示如下:其中一些文本实际上是多行的,tableView:
heightForRowAtIndexPath
:返回它们正确的高度。
浏览 2
修改于2016-03-12
得票数 0
4
回答
TableView -未调用
heightForRowAtIndexPath
font = UIFont(name: "Helvetica", size: 28) } return UITableViewAutomaticDimension } 这看起来很简单,但是调试会话显示
heightForRowAtIndexPath
浏览 63
提问于2017-02-02
得票数 5
回答已采纳
3
回答
webViewDidFinishLoad之前的
heightForRowAtIndexPath
但是,我还需要定义单元格的高度,这是我计划在内部设置的} 不幸的是,
heightForRowAtIndexPath
是在webViewDidFinishLoad之前调用的,所以我不能正确定义单元格的高度。
浏览 2
修改于2017-05-23
得票数 3
回答已采纳
1
回答
如何在tableView:
heightForRowAtIndexPath
:?
我正在尝试实现可变高度的表格单元格,我认为这是一个优雅的解决方案,结果却变成了递归/堆栈溢出: - (CGFloat)tableView:(UITableView *)aTableView
heightForRowAtIndexPath
我该如何获取调用tableView:
heightForRowAtIndexPath
:的目标单元格呢?
浏览 0
修改于2010-10-28
得票数 2
7
回答
UITableView灵活/动态
heightForRowAtIndexPath
不幸的是,
heightForRowAtIndexPath
委托方法在cellForRowAtIndexPath委托方法之前被调用,因此我们不能简单地告诉该委托返回单元格的高度,因为此时高度将为零。是的,我同意它已经分配了单元格,但
heightForRowAtIndexPath
委托方法只为将可见的单元格调用,因此无论如何都会分配该单元格。好的,通过在
heightForRowAtIndexPath
委托方法中调用cellForRowAtIndexPath委托方法,我们获得了确定单元格大小所需的所有信息。
浏览 1
修改于2014-07-07
得票数 60
回答已采纳
5
回答
如何使用
heightForRowAtIndexPath
方法?
我正尝试在我的UITableViewController中使用
heightForRowAtIndexPath
方法。但是当我尝试覆盖这个方法时,它告诉我它没有覆盖它的超类中的任何方法。{ } override func tableView(tableView: UITableView,
heightForRowAtIndexPath
浏览 44
修改于2018-02-20
得票数 7
回答已采纳
6
回答
更长的
heightForRowAtIndexPath
NSStrings
我有一个UITableView (分组!)并需要计算两种类型的单元格的高度:UITableViewCellStyleDefault和UITableViewCellStyleValue2。CGSize textSize = {300.f, 200000.0f}; CGSize size = [myTextString1 sizeWithFont:[UIFont systemFontOfSize:14.0f] constrainedToSize:textSize lineBreakMode:UILineBrea
浏览 5
修改于2009-07-21
得票数 7
回答已采纳
2
回答
heightForRowAtIndexPath
无法识别方向
此方法不起作用: -(CGFloat) tableView:(UITableView *)tableView
heightForRowAtIndexPath
:(NSIndexPath *)indexPath
浏览 0
提问于2012-10-30
得票数 1
回答已采纳
2
回答
heightForRowAtIndexPath
不显示多行
当文本比平时长时,
heightForRowAtIndexPath
永远不会显示多行。CELL_CONTENT_WIDTH 320.0f - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
浏览 2
修改于2011-03-06
得票数 1
回答已采纳
1
回答
分组UITableViewCell的
heightForRowAtIndexPath
我使用以下方法实现来计算包含多行文本的UITableViewCell的高度: - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath
浏览 0
修改于2013-02-13
得票数 0
1
回答
tableView
heightForRowAtIndexPath
不工作
我搜索了它,我发现 return self.comments.count func tableView(tableView: UITableView,
heightForRowAtIndexPath
浏览 3
修改于2016-03-10
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券