objective c - UITableView: Hide cells animated? -
i'm trying make of cells of uitableview
invisible. pushing button supposed toggle visibility. tried hidden
property of uitableviewcell
class cannot animated. setting cell's frame
height of 0 make cell small, not hidden , not animate either.
any ideas?
what should use [uitableview deleterowsatindexpaths:withrowanimation:]
method. make sure adjust tableview:numberofrowsinsection:
method reflect number of rows have been deleted or app crash.
Comments
Post a Comment