I want to put a UICollectionView control that shows thumbs horizontally (only a single line of thumbs). For some reason the UICollectionView push the thumbs 44 pixels down,
I found that adding:
self.edgesForExtendedLayout = UIRectEdgeNone;
In the view controller I was loading the UICollectionView in solved the problem as I couldn't get the accepted answer to work.
The question I found this answer to can be found here and provides an extremely in-depth and interesting explanation of the difference between automatically adjusted scrolled view insets, extended layouts and edge for extended layouts.
Well worth a read