-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
在一个详情页中使用了本框架,当图片还没有加载出来的时候,退出详情页,进入列表页。再从列表页进入详情页 这个时候就出现了闪退的情况
打全局断点发现是在这个方法时出了问题,希望可以帮忙解答一下
-(void)xh_reloadRowAtIndexPath:(NSIndexPath *)indexPath withRowAnimation:(UITableViewRowAnimation)animation forURL:(NSURL *)url
{
BOOL reloadState = [XHWebImageAutoSize reloadStateFromCacheForURL:url];
if(!reloadState)
{
[self reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:animation];
[XHWebImageAutoSize storeReloadState:YES forURL:url completed:nil];
}
}
断点停在了 这个方法的[self reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:animation];上
Metadata
Metadata
Assignees
Labels
No labels