UICollectionView [NSIndexPath section]: message sent to deallocated instance

在UICollectionView上加UITapGestureRecognizer手势时,点击哪都报

[NSIndexPath section]: message sent to deallocated instance

错误,查找了半天,才发现

http://*.com/questions/20453291/uicollectionview-crashes-randomly-because-of-highlighting-issue

-(BOOL) collectionView:(UICollectionView *)collectionView shouldHighlightItemAtIndexPath:(NSIndexPath *)indexPath{

return NO;

}

解决,但为什么呢,改天再去看一下,追进度先

上一篇:Win7下JDK环境变量设置批处理(转)


下一篇:Atom使用心得 - 21世纪的编辑器