How do I add a UIActivity Indicator to every Cell and maintain control of each individual indicator

前端 未结 4 1829
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 14:39

I\'m trying to add an activity indicator to certain cells in my UITableView. I do this successfully in the method didSelectRowAtIndexpath using

    CGRect CellFr         


        
4条回答
  •  野的像风
    2021-01-21 15:03

    You need to make a custom UITableViewCell by extending it. Then have a UIActivityIndicatorView as a member of that Cell. Then you can access it and control it on a cell by cell basis.

提交回复
热议问题