Animating UICollectionView contentOffset does not display non-visible cells
问题 I'm working on some ticker-like functionality and am using a UICollectionView . It was originally a scrollView, but we figure a collectionView will make it easier to add/remove cells. I am animating the collectionView with the following: - (void)beginAnimation { [UIView animateWithDuration:((self.collectionView.collectionViewLayout.collectionViewContentSize.width - self.collectionView.contentOffset.x) / 75) delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionRepeat |