title: UICollectionView: current index path for page control
body: <p>I'm using a UICollectionView with a flow layout to show a list of cells, I also have a page control to indicate current page, but there seems to be no way to get current index path, I know I can get visible cells:</p>
  
  <p><a href="https://stackoverflow.com/questions/18649920/uicollectionview-current-visible-cell-index">UICollectionView current visible cell index</a></p>
  
  <p>however there can be more than one visible cells, even if each of my cells occupies full width of the screen, if I scroll it to have two halves of two cells, then they are both visible, so is there a way to get only one current visible cell's index?</p>
  
  <p>Thanks</p>