forkingdog / forkingdog/UITableView-FDTemplateLayoutCell

iOS7 使用reloadSections某些情况下会crash

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
9.9k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

我在实现点击headerView展开折叠该Section的cell功能时,展开后不拖动,直接点击headerView展开折叠都没问题,但是展开上下拖动后,再点击headerView实现折叠时就会报下边的信息。
**\* Assertion failure in -[UIViewAnimation initWithView:indexPath:endRect:endAlpha:startFraction:endFraction:curve:animateFromCurrentPosition:shouldDeleteAfterAnimation:editing:], /SourceCache/UIKit/UIKit-2935.138/UITableViewSupport.m:2666

点击触发事件
`[MyTable reloadSections:[NSIndexSet indexSetWithIndex:section]
withRowAnimation:UITableViewRowAnimationFade];`

iOS8以上就不会出现以上问题

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.