-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASTableNode deleteRowsAtIndexPath Crash #929
Comments
Hi, please share more details the crash, like stack traces, version of the framework that you're using, and maybe a sample project that can reliably reproduce this crash. Thanks! |
I found this problem on the IOS version of the 11.3.1 device. I don't know where to view the frame version. I download it from the master of AsyncDisplayKit project. Due to support ios8.0, Texture project will be wrong, so the use of AsyncDisplayKit project.
If the minimum support for ios9.0, compile it normally. At this point, All exception breakpoint is positioned in ASTableView.mm, line:1638.
|
@fuhailong Are you able to temporarily bump your project to iOS 9 and try using Texture to see if you run into the same issue? |
Thank you very much for looking at this problem,I have found the cause of the problem. It should be that texture and AsyncDisplayKit project did not support the new method of ios11 under UITableViewDelegate.
Can the problem of ios8 compile and report wrong under the texture project be solved together? I can change the FrameWork into Texture. And this question (#785) Thank you very much. |
Hi @ay8s @nguyenhuy 👋 Managed to reproduce this crash in the Kittens sample project (ref: #1560 ) |
You can use: DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
self.dataSource.remove(at: indexPath.row)
self.addressTableNode.deleteRows(at: [indexPath], with: .automatic)
} |
code:
[self.tableNode deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone];
Log:
*** Assertion failure in -[ASTableView _heightForShadowRowAtIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3698.52.10/UITableView.m:12292
crash。
Have anyone ever met this problem?
The text was updated successfully, but these errors were encountered: