When the UICollectionView is populated with items they always go right to the edges of the UICollectionView like so:
--------------- |X X X X X X X| |X X X X
On Xcode 8, if you're using the interface builder you can set the Section Insets right on the Size Inspector: