RATreeView
RATreeView copied to clipboard
-[RATableView tableView:didEndDisplayingCell:forRowAtIndexPath:]: unrecognized selector sent to instance 0x10390f000
-[RATableView tableView:didEndDisplayingCell:forRowAtIndexPath:]: unrecognized selector sent to instance 0x10390f000 我没有在任何地方手动调用这个接口,为什么会在这里崩溃
-[RATableView tableView:didEndDisplayingCell:forRowAtIndexPath:]: unrecognized selector sent to instance 0x10390f000 我也出现了这个问题,频率很高,请问为什么
把这个函数删除试试
- (void)tableView:(UITableView *)tableView didEndDisplayingCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { if ([self.delegate respondsToSelector:@selector(treeView:didEndDisplayingCell:forItem:)]) { RATreeNode *treeNode = [self treeNodeForIndexPath:indexPath]; [self.delegate treeView:self didEndDisplayingCell:cell forItem:treeNode.item]; } }
你应该取消代理当页面消失的时候