Updates GameCollectionViewController to display 3 games per row on 5.5” screens
This commit is contained in:
parent
3afa9cc47d
commit
03ddd7e7a6
@ -64,6 +64,7 @@ extension GameCollectionViewController
|
|||||||
|
|
||||||
let layout = self.collectionViewLayout as! GridCollectionViewLayout
|
let layout = self.collectionViewLayout as! GridCollectionViewLayout
|
||||||
layout.itemWidth = 90
|
layout.itemWidth = 90
|
||||||
|
layout.minimumInteritemSpacing = 12
|
||||||
|
|
||||||
self.registerForPreviewing(with: self, sourceView: self.collectionView!)
|
self.registerForPreviewing(with: self, sourceView: self.collectionView!)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user