Can you animate a height change on a UITableViewCell when selected?

前端 未结 21 1051
天涯浪人
天涯浪人 2020-11-22 04:41

I\'m using a UITableView in my iPhone app, and I have a list of people that belong to a group. I would like it so that when the user clicks on a particular pers

21条回答
  •  失恋的感觉
    2020-11-22 04:56

    just a note for someone like me searching for add "More Details" on custom cell.

    [tableView beginUpdates];
    [tableView endUpdates];
    

    Did a excellent work, but don't forget to "crop" cell view. From Interface Builder select your Cell -> Content View -> from Property Inspector select "Clip subview"

提交回复
热议问题