I have to make one collection view so that irrespective of iphone size we have just 2 images in each row and also we need border between each row and column as shown in the image. 

**I want like this:**

![enter image description here](https://i.stack.imgur.com/0g7vB.jpg)