The TableView problem…A view with indicator..in particular row

社会主义新天地 提交于 2019-12-11 17:07:49

问题


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

The TableView problem...How to know the row number

Now in this question I want to add this..

what I am doing

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..

My Problem

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..

what to do now?


回答1:


Here is the code to get the cell:

UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];


来源:https://stackoverflow.com/questions/5389124/the-tableview-problem-a-view-with-indicator-in-particular-row

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!