Skip to content

使用的过程中出现闪退的情况 #5

@FLEasy

Description

@FLEasy

在一个详情页中使用了本框架,当图片还没有加载出来的时候,退出详情页,进入列表页。再从列表页进入详情页 这个时候就出现了闪退的情况
打全局断点发现是在这个方法时出了问题,希望可以帮忙解答一下
-(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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions