steipete/PSTCollectionView — pull request #91 by taiyangc (2012-11-06 02:31:44+00:00)
Title: Cells should be above supplementary views but below scroll indicators

Previous fix from the supplementary view commits only prepended cells to the front of the subview queue to avoid covering scroll indicators. This however breaks the iOS6 UICollectionView behavior that subviews should be ordered based on when they are queued (I think cells are mostly always above other views).

Made a simple change to detect visibility of the scroll indicators and if so, insert the cell below the last subview, which is always a scroll indicator in iOS5 and below.

Should fix #36.