Cell animation stop fraction must be greater than start fraction

前端 未结 10 1314
梦毁少年i
梦毁少年i 2020-12-24 06:12

I m using Animation in table view cell...Animation is working fine when cell is totally visible.if any cell is partially visible at that time due to Animation my app is gett

10条回答
  •  礼貌的吻别
    2020-12-24 06:49

    I was getting the same error and crash whenever I would scroll to the bottom of the tableview and try to delete cells and insert sections my solution was to scroll the tableview back to the top before calling [tableview beginsUpdates] using the tableviews content offset. With this solution I didn't have to change my section header or footer at all.

    [self.tableView setContentOffset:CGPointZero animated:NO];
    

提交回复
热议问题