Revert "[CustomCollectionView Example]"

This reverts commit fcccb1bf03.
This commit is contained in:
Hannah Troisi
2016-03-19 18:10:08 -07:00
parent fcccb1bf03
commit d99a13f1a7

View File

@@ -119,7 +119,7 @@
- (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds
{
if (!CGSizeEqualToSize(self.collectionView.bounds.size, newBounds.size)) {
if (!CGRectEqualToRect(self.collectionView.bounds, newBounds)) {
return YES;
}
return NO;