Cell animation stop fraction must be greater than start fraction

前端 未结 10 1390
梦毁少年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条回答
  •  猫巷女王i
    2020-12-24 06:52

    I experienced the same crash when trying to use a dummy footer to remove potential "empty" table view cells.

    The solution was to get rid of

    tableView:viewForFooterInSection:
    tableView:heightForFooterInSection:
    

    and replace them with the following, in viewDidLoad :

    tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
    

提交回复
热议问题