title: UICollectionView Not Scrolling Vertically
body: <p>I'm new to ios development. Was creating a grid view with UICollectionView. View doesnt scroll vertically, but when i change the scroll direction to horizontal it does. I want it to scroll vertically</p>
  
  <p><a href="https://i.stack.imgur.com/WWv63.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WWv63.png" alt="enter image description here"></a></p>