TableView 问题......带有指示器的视图......特别是行 [英] The TableView problem…A view with indicator..in particular row

查看:26
本文介绍了TableView 问题......带有指示器的视图......特别是行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个小时前我确实问过这个问题..我的问题得到了解决..

Few hours ago I did ask this Question ..And my problem got solved..

TableView 问题...如何知道行号码

现在在这个问题中我想添加这个..

Now in this question I want to add this..

我在做什么

我正在制作一个使用 tableView 的项目.在那个 tableView 删除行后 应该在该行上显示一个带有活动指示器和标签的新视图......并且标签显示......行已删除......

I am making a project in which I am using a tableView. In that tableView After deleting the row A new view should be shown on that row with activity indicator and a label...and label shows...row deleted..

我的问题

我再次遇到的问题是,当我按下按钮时......我按下的特定行的按钮......按钮隐藏在该行中,但视图和活动指示器再次可以出现在最后一排......每次

Again I am stuck with the problem that is when I press the button ..the button of the particular row that I have pressed...the button is getting hidden in that row but the view and the activity indicator is again can be seen in the last row...EVERY TIME

我尝试了与我在隐藏按钮过程中成功尝试过的相同的事情......这是我在上面给出链接的最后一个问题的答案......但是它给了我一个错误......

I tried the same thing that I did successfully tried in the procedure of hiding button...which is the answer of the last question I have given the link above..However it is giving me an error..

现在怎么办?

推荐答案

这是获取单元格的代码:

Here is the code to get the cell:

UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

这篇关于TableView 问题......带有指示器的视图......特别是行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆