ios - UITableViewCell minimize and maximize animation -
i have uitableview , when cell selected reloads different type of cell (to simulate maximize , minimize effect). problem cannot figure how animate since reloaddata() method called. achieved kind of animation using
uiview.transition(with: tableview, duration: 0.35, options: .transitioncrossdissolve, animations: { self.tableview.reloaddata() }) but it's not how want @ end. did same thing , has better solution?
if want animated change don't use reloaddata.
use reloadrowsatindexpaths:withrowanimation: , specify indexpaths have changed.
Comments
Post a Comment