title: How to resize the collection view cells according to device screen size?
body: <p>I noticed that the cells would always follow the definition in size inspector. Even if I have already applied UICollectionViewDelegateFlowLayout.</p>
  
  <p><a href="https://i.stack.imgur.com/wwevu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wwevu.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/KvIMK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KvIMK.png" alt="enter image description here"></a></p>
  
  <p>So that's how it looks. But I want the cells to rather look like how it was on a smaller iphone screen.</p>
  
  <p><a href="https://i.stack.imgur.com/GGPin.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/GGPin.jpg" alt="enter image description here"></a></p>