title: UICollectionView scroll to any footer or header view
body: <p>I want to scroll to footer or header view of the collection view, however, the standard approach with <code>scrollToItemAtIndexPath</code> scrolls only to the cells</p>
  
  <pre><code>- (void)scrollToBottom {
          NSInteger section = [self numberOfSectionsInCollectionView:self.collectionView] - 1;
          NSInteger item = [self collectionView:self.collectionView numberOfItemsInSection:section] - 1;
          if ((section &gt; 0) &amp;&amp; (item &gt; 0)) {
              NSIndexPath * lastIndexPath = [NSIndexPath indexPathForItem:item inSection:section];
              [self.collectionView scrollToItemAtIndexPath:lastIndexPath atScrollPosition:UICollectionViewScrollPositionBottom animated:NO];
          }
  }
  </code></pre>
  
  <p>How to scroll to any footer, header view, similar as with scrolling to cell?</p>